svn rev #22488: trunk/src/lib/crypto/crypto_tests/
tlyu@MIT.EDU
tlyu at MIT.EDU
Mon Aug 3 17:58:16 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22488
Commit By: tlyu
Log Message:
Be a little more verbose about errors from mit_des_key_sched(), and
remember to print newlines.
Changed Files:
U trunk/src/lib/crypto/crypto_tests/destest.c
Modified: trunk/src/lib/crypto/crypto_tests/destest.c
===================================================================
--- trunk/src/lib/crypto/crypto_tests/destest.c 2009-08-03 21:19:46 UTC (rev 22487)
+++ trunk/src/lib/crypto/crypto_tests/destest.c 2009-08-03 21:58:15 UTC (rev 22488)
@@ -95,7 +95,8 @@
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,
More information about the cvs-krb5
mailing list