diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-19 10:46:35 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-05-20 15:42:58 +0200 |
commit | c14dd15c6a802729f46857630b1df83987d9a11c (patch) | |
tree | af1540fc888b4dd0abfdfbfe6b98d52fdf52324f | |
parent | 688945a994660fa905836b55a995bb90c3e8e67a (diff) | |
download | samba-c14dd15c6a802729f46857630b1df83987d9a11c.tar.gz samba-c14dd15c6a802729f46857630b1df83987d9a11c.tar.bz2 samba-c14dd15c6a802729f46857630b1df83987d9a11c.zip |
s3:smbd: make negprot_spnego() non static
metze
-rw-r--r-- | source3/smbd/globals.h | 2 | ||||
-rw-r--r-- | source3/smbd/negprot.c | 2 |
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; |