summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/globals.h2
-rw-r--r--source3/smbd/negprot.c2
2 files changed, 3 insertions, 1 deletions
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;