summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-08 08:13:27 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-08 15:24:51 +0100
commit9a3fe3a3292a780743df9dc4afd00864755d3dfd (patch)
treea0ba0da271397aa394a65e53a38b19502103f3a7
parent26d736f1ff43a6ea013f2a00f3b2441fe3e8ab9b (diff)
downloadsamba-9a3fe3a3292a780743df9dc4afd00864755d3dfd.tar.gz
samba-9a3fe3a3292a780743df9dc4afd00864755d3dfd.tar.bz2
samba-9a3fe3a3292a780743df9dc4afd00864755d3dfd.zip
s3:libsmb: key_len is 8bit only in the NT1 case
metze
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index af6c51b7b5..a66108d330 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2666,7 +2666,7 @@ static void cli_negprot_done(struct tevent_req *subreq)
bool server_allowed;
const char *server_signing = NULL;
bool ok;
- uint16_t key_len;
+ uint8_t key_len;
if (wct != 0x11) {
tevent_req_nterror(req, NT_STATUS_INVALID_NETWORK_RESPONSE);