summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-05 17:02:22 +0200
committerVolker Lendecke <vl@samba.org>2011-08-25 21:36:19 +0200
commitf533b501051e9463a6398f3ae5eeb87a98343346 (patch)
tree30bc65d68000fc793692ec9bac0b1ff1ae7cb2c8
parent7e70f85350c81f2b820d83da0d5d3ea46655e219 (diff)
downloadsamba-f533b501051e9463a6398f3ae5eeb87a98343346.tar.gz
samba-f533b501051e9463a6398f3ae5eeb87a98343346.tar.bz2
samba-f533b501051e9463a6398f3ae5eeb87a98343346.zip
s3: Pass smbd_server_connection to (unused) server_encryption_shutdown
-rw-r--r--source3/smbd/proto.h2
-rw-r--r--source3/smbd/seal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 646a00678d..d271d7f043 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -948,7 +948,7 @@ NTSTATUS srv_request_encryption_setup(connection_struct *conn,
unsigned char **pparam,
size_t *p_param_size);
NTSTATUS srv_encryption_start(connection_struct *conn);
-void server_encryption_shutdown(void);
+void server_encryption_shutdown(struct smbd_server_connection *sconn);
/* The following definitions come from smbd/sec_ctx.c */
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c
index 20d97133ff..c0aaa5ab7d 100644
--- a/source3/smbd/seal.c
+++ b/source3/smbd/seal.c
@@ -803,7 +803,7 @@ NTSTATUS srv_encryption_start(connection_struct *conn)
Shutdown all server contexts.
******************************************************************************/
-void server_encryption_shutdown(void)
+void server_encryption_shutdown(struct smbd_server_connection *sconn)
{
srv_free_encryption_context(&partial_srv_trans_enc_ctx);
srv_free_encryption_context(&srv_trans_enc_ctx);