summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-05 16:58:51 +0200
committerVolker Lendecke <vl@samba.org>2011-08-25 21:36:19 +0200
commitd4c4705e5593a8f048da406fff596229d31d4151 (patch)
tree9a6aad3adeaa4f51da5760e7d792ffbe60ab5349 /source3/smbd/proto.h
parent08262fe9647f961bfb2b1eb2b7b9e8ed0318e466 (diff)
downloadsamba-d4c4705e5593a8f048da406fff596229d31d4151.tar.gz
samba-d4c4705e5593a8f048da406fff596229d31d4151.tar.bz2
samba-d4c4705e5593a8f048da406fff596229d31d4151.zip
s3: Pass smbd_server_connection to srv_decrypt_buffer
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index b8e9557560..efbaa2ee89 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -48,7 +48,6 @@
/* The following definitions come from smbd/signing.c */
-struct smbd_server_connection;
bool srv_check_sign_mac(struct smbd_server_connection *conn,
const char *inbuf, uint32_t *seqnum, bool trusted_channel);
void srv_calculate_sign_mac(struct smbd_server_connection *conn,
@@ -940,7 +939,7 @@ void reply_getattrE(struct smb_request *req);
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(char *buf);
+NTSTATUS srv_decrypt_buffer(struct smbd_server_connection *sconn, char *buf);
NTSTATUS srv_encrypt_buffer(char *buf, char **buf_out);
NTSTATUS srv_request_encryption_setup(connection_struct *conn,
unsigned char **ppdata,