From f533b501051e9463a6398f3ae5eeb87a98343346 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 5 Aug 2011 17:02:22 +0200 Subject: s3: Pass smbd_server_connection to (unused) server_encryption_shutdown --- source3/smbd/proto.h | 2 +- source3/smbd/seal.c | 2 +- 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); -- cgit