diff options
author | Tom Yu <tlyu@mit.edu> | 2009-08-03 21:58:15 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2009-08-03 21:58:15 +0000 |
commit | 0adf87fde3ba6a9eab40f900ee48b3359096c1d5 (patch) | |
tree | 7dbe8dc02b16e24e9351360617915665a89deffe | |
parent | 00efbea543dd6950b2a7581dcb7241521aacef38 (diff) | |
download | krb5-0adf87fde3ba6a9eab40f900ee48b3359096c1d5.zip krb5-0adf87fde3ba6a9eab40f900ee48b3359096c1d5.tar.gz krb5-0adf87fde3ba6a9eab40f900ee48b3359096c1d5.tar.bz2 |
Be a little more verbose about errors from mit_des_key_sched(), and
remember to print newlines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22488 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/crypto/crypto_tests/destest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/crypto/crypto_tests/destest.c b/src/lib/crypto/crypto_tests/destest.c index 2582cc3..6dd72cc 100644 --- a/src/lib/crypto/crypto_tests/destest.c +++ b/src/lib/crypto/crypto_tests/destest.c @@ -95,7 +95,8 @@ main(argc, argv) retval = mit_des_key_sched(key, sched); if (retval) { - fprintf(stderr, "des test: can't process key"); + fprintf(stderr, "des test: can't process key: %d\n", retval); + fprintf(stderr, "des test: %s %s %s\n", block1, block2, block3); exit(1); } mit_des_cbc_encrypt((const mit_des_cblock *) input, output2, 8, |