From: Fredrik Thulin Date: Mon, 7 Mar 2011 14:23:01 +0000 (+0100) Subject: Clarify type of key in error message. X-Git-Tag: v1.5.0~8^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8d69b414a91a28fc244508d7f0e5b3252e65b53;p=yubikey-personalization Clarify type of key in error message. --- diff --git a/ykpersonalize.c b/ykpersonalize.c index bfa3170..387e650 100644 --- a/ykpersonalize.c +++ b/ykpersonalize.c @@ -466,7 +466,7 @@ int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, } if (res) { - fprintf(stderr, "Bad AES key: %s\n", aeshash); + fprintf(stderr, "Bad %s key: %s\n", long_key_valid ? "HMAC":"AES", aeshash); fflush(stderr); return 0; }