summaryrefslogtreecommitdiff
path: root/source3/smbd/seal.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-05 16:49:20 +0200
committerVolker Lendecke <vl@samba.org>2011-08-25 21:36:19 +0200
commitf9ef138ec7a7a6507e0bd9d7d8753027c002b562 (patch)
treef4782ae2759070471d7439421e890990fe1e6154 /source3/smbd/seal.c
parentb4b9918cc80ffae55c0c75a93c229c7a29bbb230 (diff)
downloadsamba-f9ef138ec7a7a6507e0bd9d7d8753027c002b562.tar.gz
samba-f9ef138ec7a7a6507e0bd9d7d8753027c002b562.tar.bz2
samba-f9ef138ec7a7a6507e0bd9d7d8753027c002b562.zip
s3: Pass smbd_server_connection to is_encrypted_packet
Diffstat (limited to 'source3/smbd/seal.c')
-rw-r--r--source3/smbd/seal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c
index 1b9b3b07df..6a1b056aac 100644
--- a/source3/smbd/seal.c
+++ b/source3/smbd/seal.c
@@ -55,7 +55,8 @@ static uint16_t srv_enc_ctx(const struct smb_srv_trans_enc_ctx *ec)
Is this an incoming encrypted packet ?
******************************************************************************/
-bool is_encrypted_packet(const uint8_t *inbuf)
+bool is_encrypted_packet(struct smbd_server_connection *sconn,
+ const uint8_t *inbuf)
{
NTSTATUS status;
uint16_t enc_num;