From 0adf87fde3ba6a9eab40f900ee48b3359096c1d5 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 3 Aug 2009 21:58:15 +0000 Subject: [PATCH] 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 --- src/lib/crypto/crypto_tests/destest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.26.2