From e26a595361059531046e32453db216309d2fa6f5 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 7 Feb 2014 15:25:41 +0100 Subject: [PATCH] correct certificate length text --- yubico-piv-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yubico-piv-tool.c b/yubico-piv-tool.c index 490eaf4..636b86c 100644 --- a/yubico-piv-tool.c +++ b/yubico-piv-tool.c @@ -702,7 +702,7 @@ static bool import_cert(SCARDHANDLE *card, enum enum_key_format cert_format, int sw; if(cert_len > 2048) { - fprintf(stderr, "Certificate to large, maximum 4096 bytes (was %d bytes).\n", cert_len); + fprintf(stderr, "Certificate to large, maximum 2048 bytes (was %d bytes).\n", cert_len); ret = false; goto import_cert_out; }