diff options
author | David F. Skoll <dfs@roaringpenguin.com> | 2002-09-01 12:00:15 +0000 |
---|---|---|
committer | David F. Skoll <dfs@roaringpenguin.com> | 2002-09-01 12:00:15 +0000 |
commit | 1aa145faffde86065d6ae1af4041d185c7733342 (patch) | |
tree | f53235f1f42bd87100a646a748cc9624b99724c7 /README.MSCHAP80 | |
parent | 33ec2ebb02d53e28f1b20c46652b882b34732ae4 (diff) | |
download | ppp-1aa145faffde86065d6ae1af4041d185c7733342.tar.gz |
Patches from Frank Cusack.
Diffstat (limited to 'README.MSCHAP80')
-rw-r--r-- | README.MSCHAP80 | 7 |
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 |