]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Some minor cleanups of NTLMSSP to get rid of compiler warnings
authorhno <>
Fri, 30 Nov 2001 16:50:28 +0000 (16:50 +0000)
committerhno <>
Fri, 30 Nov 2001 16:50:28 +0000 (16:50 +0000)
  * Unused variable
  * Missing prototypes for SMBencrypt() and SMBNTencrypt()

helpers/ntlm_auth/SMB/libntlmssp.c
helpers/ntlm_auth/SMB/smbval/smbencrypt.h

index fee7336ff38a30bdebe974f2d6aad3905461b7a9..4f45b96bfa8ec726c85f49bdfdf16ddce1ad3426 100644 (file)
@@ -18,6 +18,7 @@ typedef unsigned char uchar;
 #include "ntlm.h"
 #include "util.h"              /* from Squid */
 #include "valid.h"
+#include "smbencrypt.h"
 
 #if HAVE_STRING_H
 #include <string.h>
@@ -196,7 +197,7 @@ char *
 ntlm_check_auth(ntlm_authenticate * auth, int auth_length)
 {
     int rv;
-    char pass[25], encrypted_pass[40];
+    char pass[25] /*, encrypted_pass[40] */;
     char *domain = credentials;
     char *user;
     lstring tmp;
index 9dd72a9178e6d82eb6eb5f2f7b34f4151c44a1f8..bf3b13f2b539b369c49f48a2c5c7f77544c4382c 100644 (file)
@@ -1 +1,3 @@
 void SMBencrypt(uchar * passwd, uchar * c8, uchar * p24);
+void SMBNTencrypt(uchar * passwd, uchar * c8, uchar * p24);
+