diff options
| author | Greg Hudson <ghudson@mit.edu> | 2009-12-06 20:55:16 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2009-12-06 20:55:16 +0000 |
| commit | 5b3eeda8b9d73acbd042c0fe332d8a05bf7ab4b0 (patch) | |
| tree | 57fec453152155ccfe22167cc42ab6ce2b7a7c80 /src/lib/crypto/crypto_tests | |
| parent | 0d6b8886ec5f301b2dc11fc68d4e9293b74563ab (diff) | |
Remove the ivec parameters from the keyhash provider functions, as
they are never used by callers.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23452 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/crypto_tests')
| -rw-r--r-- | src/lib/crypto/crypto_tests/t_cksum.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/crypto/crypto_tests/t_cksum.c b/src/lib/crypto/crypto_tests/t_cksum.c index 5aca50f95a..16a994fdb2 100644 --- a/src/lib/crypto/crypto_tests/t_cksum.c +++ b/src/lib/crypto/crypto_tests/t_cksum.c @@ -127,13 +127,13 @@ main(argc, argv) plaintext.length = strlen(argv[msgindex]); plaintext.data = argv[msgindex]; - if ((kret = (*(khp.hash))(key, 0, 0, &plaintext, &newstyle_checksum))) { + if ((kret = (*(khp.hash))(key, 0, &plaintext, &newstyle_checksum))) { printf("krb5_calculate_checksum choked with %d\n", kret); break; } print_checksum("correct", MD, argv[msgindex], &newstyle_checksum); - if ((kret = (*(khp.verify))(key, 0, 0, &plaintext, &newstyle_checksum, + if ((kret = (*(khp.verify))(key, 0, &plaintext, &newstyle_checksum, &valid))) { printf("verify on new checksum choked with %d\n", kret); break; @@ -146,7 +146,7 @@ main(argc, argv) printf("Verify succeeded for \"%s\"\n", argv[msgindex]); newstyle_checksum.data[0]++; - if ((kret = (*(khp.verify))(key, 0, 0, &plaintext, &newstyle_checksum, + if ((kret = (*(khp.verify))(key, 0, &plaintext, &newstyle_checksum, &valid))) { printf("verify on new checksum choked with %d\n", kret); break; @@ -163,7 +163,7 @@ main(argc, argv) kret = 1; break; } - if ((kret = (*(khp.verify))(key, 0, 0, &plaintext, &knowncksum_dat, + if ((kret = (*(khp.verify))(key, 0, &plaintext, &knowncksum_dat, &valid))) { printf("verify on known checksum choked with %d\n", kret); break; |
