mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
security.c: Remove out_buffer as it was never written into.
This commit is contained in:
parent
fbb38de415
commit
512a82d395
@ -291,10 +291,6 @@ int
|
|||||||
Curl_sec_fflush_fd(struct connectdata *conn, int fd)
|
Curl_sec_fflush_fd(struct connectdata *conn, int fd)
|
||||||
{
|
{
|
||||||
if(conn->data_prot != prot_clear) {
|
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);
|
sec_send(conn, fd, NULL, 0);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -806,7 +806,7 @@ struct connectdata {
|
|||||||
enum protection_level data_prot;
|
enum protection_level data_prot;
|
||||||
enum protection_level request_data_prot;
|
enum protection_level request_data_prot;
|
||||||
size_t buffer_size;
|
size_t buffer_size;
|
||||||
struct krb4buffer in_buffer, out_buffer;
|
struct krb4buffer in_buffer;
|
||||||
void *app_data;
|
void *app_data;
|
||||||
const struct Curl_sec_client_mech *mech;
|
const struct Curl_sec_client_mech *mech;
|
||||||
struct sockaddr_in local_addr;
|
struct sockaddr_in local_addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user