From c14dd15c6a802729f46857630b1df83987d9a11c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 19 May 2009 10:46:35 +0200 Subject: s3:smbd: make negprot_spnego() non static metze --- source3/smbd/globals.h | 2 ++ source3/smbd/negprot.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index e69243f4b4..3001189867 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -202,6 +202,8 @@ extern int num_children; struct tstream_context; struct smbd_smb2_request; +DATA_BLOB negprot_spnego(void); + bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size); void smbd_smb2_first_negprot(struct smbd_server_connection *conn, diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index e548c587c1..b3eb698a37 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -166,7 +166,7 @@ static void reply_lanman2(struct smb_request *req, uint16 choice) Generate the spnego negprot reply blob. Return the number of bytes used. ****************************************************************************/ -static DATA_BLOB negprot_spnego(void) +DATA_BLOB negprot_spnego(void) { DATA_BLOB blob; nstring dos_name; -- cgit