summaryrefslogtreecommitdiff
path: root/README.MSCHAP80
diff options
context:
space:
mode:
authorDavid F. Skoll <dfs@roaringpenguin.com>2002-09-01 12:00:15 +0000
committerDavid F. Skoll <dfs@roaringpenguin.com>2002-09-01 12:00:15 +0000
commit1aa145faffde86065d6ae1af4041d185c7733342 (patch)
treef53235f1f42bd87100a646a748cc9624b99724c7 /README.MSCHAP80
parent33ec2ebb02d53e28f1b20c46652b882b34732ae4 (diff)
downloadppp-1aa145faffde86065d6ae1af4041d185c7733342.tar.gz
Patches from Frank Cusack.
Diffstat (limited to 'README.MSCHAP80')
-rw-r--r--README.MSCHAP807
1 files changed, 4 insertions, 3 deletions
diff --git a/README.MSCHAP80 b/README.MSCHAP80
index c77d769..7c16f3e 100644
--- a/README.MSCHAP80
+++ b/README.MSCHAP80
@@ -226,7 +226,8 @@ int main(argc, argv)
for (i = 0; i < sizeof(challenge); i++)
challenge[i] = (u_char)challengeInt[i];
- ChapMS(&cstate, challenge, sizeof(challenge), argv[2], strlen(argv[2]));
+ ChapMS(&cstate, challenge, argv[2], strlen(argv[2]),
+ (MS_ChapResponse *)&cstate.response);
printf("Response length is %d, response is:", cstate.resp_length);
for (i = 0; i < cstate.resp_length; i++) {
@@ -241,8 +242,8 @@ int main(argc, argv)
}
-------------
-This needs to link against chap_ms.o, md4.o, and the DES library. When
-you run it with the command line:
+This needs to link against chap_ms.o, md4.o, sha1.o and the DES library.
+When you run it with the command line:
$ testchap 00000000000000000000000000000000 hello