From d419d425b006419130b029648df51b4467e6e918 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 7 Feb 2014 16:12:02 +0100 Subject: [PATCH] drop debug prints --- yubico-piv-tool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/yubico-piv-tool.c b/yubico-piv-tool.c index 636b86c..cde1a1a 100644 --- a/yubico-piv-tool.c +++ b/yubico-piv-tool.c @@ -1087,10 +1087,8 @@ static unsigned char get_algorithm(EVP_PKEY *key) { RSA *rsa = EVP_PKEY_get1_RSA(key); int size = RSA_size(rsa); if(size == 256) { - printf("rsa 2048\n"); return 0x7; } else if(size == 128) { - printf("rsa 1024\n"); return 0x6; } else { fprintf(stderr, "Unuseable key of %d bits, only 1024 and 2048 is supported.\n", size * 8);