summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index efbaa2ee89..646a00678d 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -940,7 +940,8 @@ bool is_encrypted_packet(struct smbd_server_connection *sconn,
const uint8_t *inbuf);
void srv_free_enc_buffer(struct smbd_server_connection *sconn, char *buf);
NTSTATUS srv_decrypt_buffer(struct smbd_server_connection *sconn, char *buf);
-NTSTATUS srv_encrypt_buffer(char *buf, char **buf_out);
+NTSTATUS srv_encrypt_buffer(struct smbd_server_connection *sconn, char *buf,
+ char **buf_out);
NTSTATUS srv_request_encryption_setup(connection_struct *conn,
unsigned char **ppdata,
size_t *p_data_size,