1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

security.c: Remove out_buffer as it was never written into.

This commit is contained in:
Julien Chaffraix 2010-09-10 00:26:37 -07:00 committed by Daniel Stenberg
parent fbb38de415
commit 512a82d395
2 changed files with 1 additions and 5 deletions

View File

@ -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;

View File

@ -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;