From: Tom Yu Date: Mon, 3 Aug 2009 21:58:15 +0000 (+0000) Subject: Be a little more verbose about errors from mit_des_key_sched(), and X-Git-Tag: krb5-1.8-alpha1~400 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0adf87fde3ba6a9eab40f900ee48b3359096c1d5;p=krb5.git 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 --- diff --git a/src/lib/crypto/crypto_tests/destest.c b/src/lib/crypto/crypto_tests/destest.c index 2582cc3d3..6dd72cc42 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,