diff options
author | peter <peter@FreeBSD.org> | 1998-06-20 18:02:16 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-06-20 18:02:16 +0000 |
commit | 5cb66c6885ce2fb21048949b4aa0af165ec63e16 (patch) | |
tree | e335188d886ace2e1696ed1573aaf22490a6097c /usr.sbin/pppd/chap_ms.c | |
parent | a63a049b7c08070a2a25b3dd460c29d65dfe6d19 (diff) | |
download | FreeBSD-src-5cb66c6885ce2fb21048949b4aa0af165ec63e16.zip FreeBSD-src-5cb66c6885ce2fb21048949b4aa0af165ec63e16.tar.gz |
Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.
Diffstat (limited to 'usr.sbin/pppd/chap_ms.c')
-rw-r--r-- | usr.sbin/pppd/chap_ms.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/pppd/chap_ms.c b/usr.sbin/pppd/chap_ms.c index 744e14b..343f462 100644 --- a/usr.sbin/pppd/chap_ms.c +++ b/usr.sbin/pppd/chap_ms.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: chap_ms.c,v 1.3 1997/08/19 17:52:35 peter Exp $"; +static char rcsid[] = "$Id: chap_ms.c,v 1.4 1998/03/22 05:32:48 peter Exp $"; #endif #ifdef CHAPMS @@ -44,6 +44,9 @@ static char rcsid[] = "$Id: chap_ms.c,v 1.3 1997/08/19 17:52:35 peter Exp $"; #include <sys/time.h> #include <syslog.h> #include <unistd.h> +#ifdef HAVE_CRYPT_H +#include <crypt.h> +#endif #include "pppd.h" #include "chap.h" @@ -255,7 +258,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. */ |