From 9a3fe3a3292a780743df9dc4afd00864755d3dfd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 8 Nov 2011 08:13:27 +0100 Subject: s3:libsmb: key_len is 8bit only in the NT1 case metze --- source3/libsmb/cliconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit