summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);