aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/security.c4
-rw-r--r--lib/urldata.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/security.c b/lib/security.c
index c79128abd..3a3f0e03b 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -291,10 +291,6 @@ int
Curl_sec_fflush_fd(struct connectdata *conn, int fd)
{
if(conn->data_prot != prot_clear) {
- if(conn->out_buffer.index > 0){
- sec_write(conn, fd, conn->out_buffer.data, conn->out_buffer.index);
- conn->out_buffer.index = 0;
- }
sec_send(conn, fd, NULL, 0);
}
return 0;
diff --git a/lib/urldata.h b/lib/urldata.h
index 9369dd853..4d6059152 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -806,7 +806,7 @@ struct connectdata {
enum protection_level data_prot;
enum protection_level request_data_prot;
size_t buffer_size;
- struct krb4buffer in_buffer, out_buffer;
+ struct krb4buffer in_buffer;
void *app_data;
const struct Curl_sec_client_mech *mech;
struct sockaddr_in local_addr;