X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fchap_ms.c;h=763693753e3a1d00a358088c7f86779e082534f4;hb=6328c849379a86d43f251a1786cc9dece49e53be;hp=808f978264c10508fc3f5924b49947cc18a731d7;hpb=e28f47d5e53abe7317d9a82703bbbee044482d4f;p=ppp.git diff --git a/pppd/chap_ms.c b/pppd/chap_ms.c index 808f978..7636937 100644 --- a/pppd/chap_ms.c +++ b/pppd/chap_ms.c @@ -32,18 +32,22 @@ */ #ifndef lint -static char rcsid[] = "$Id: chap_ms.c,v 1.6 1998/02/04 01:40:33 paulus Exp $"; +static char rcsid[] = "$Id: chap_ms.c,v 1.9 1998/09/04 18:48:12 christos Exp $"; #endif #ifdef CHAPMS #include +#include #include #include #include #include #include #include +#ifdef HAVE_CRYPT_H +#include +#endif #include "pppd.h" #include "chap.h" @@ -255,7 +259,6 @@ ChapMS_NT(rchallenge, rchallenge_len, secret, secret_len, response) MD4_CTX md4Context; u_char hash[MD4_SIGNATURE_SIZE]; u_char unicodePassword[MAX_NT_PASSWORD * 2]; - static int low_byte_first = -1; /* Initialize the Unicode version of the secret (== password). */ /* This implicitly supports 8-bit ISO8859/1 characters. */