Be a little more verbose about errors from mit_des_key_sched(), and
authorTom Yu <tlyu@mit.edu>
Mon, 3 Aug 2009 21:58:15 +0000 (21:58 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 3 Aug 2009 21:58:15 +0000 (21:58 +0000)
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

index 2582cc3d302ffb3c083100870460cca9179b4ced..6dd72cc4242c47f015abd2589092062d869feaef 100644 (file)
@@ -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,