From edda816abeab32a0e69c14837838bacac3996917 Mon Sep 17 00:00:00 2001 From: Trevor Bentley Date: Wed, 25 Oct 2017 16:18:53 +0200 Subject: [PATCH] Remove accidental printf --- lib/util.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/util.c b/lib/util.c index c0298df..0c9f61f 100644 --- a/lib/util.c +++ b/lib/util.c @@ -714,7 +714,6 @@ ykpiv_rc ykpiv_util_generate_key(ykpiv_state *state, uint8_t slot, uint8_t algor if (ykpiv_util_devicemodel(state) == DEVTYPE_YK4 && (algorithm == YKPIV_ALGO_RSA1024 || algorithm == YKPIV_ALGO_RSA2048)) { if ((res = ykpiv_get_version(state, version, sizeof(version))) == YKPIV_OK) { int major, minor, build; - fprintf(stderr, "version: %s\n", version); int match = sscanf(version, "%d.%d.%d", &major, &minor, &build); if (match == 3 && major == 4 && (minor < 3 || (minor == 3 && build < 5))) { fprintf(stderr, "On-chip RSA key generation on this YubiKey has been blocked.\n");