s3:libsmb: key_len is 8bit only in the NT1 case
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Nov 2011 07:13:27 +0000 (08:13 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 8 Nov 2011 14:24:51 +0000 (15:24 +0100)
metze

source3/libsmb/cliconnect.c

index af6c51b7b5345d72a2fb48191e2009da1931d1c9..a66108d330e86cae37aeb03b801a091f206a2e49 100644 (file)
@@ -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);