From 3ae70939baf60524135f7e3c47e93ad2a55e611b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 3 Apr 2003 23:39:48 +0000 Subject: Correct a lot of printing calls. Remove extra arguments... --- apps/req.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/req.c') diff --git a/apps/req.c b/apps/req.c index c297599610..80b623c506 100644 --- a/apps/req.c +++ b/apps/req.c @@ -728,10 +728,10 @@ bad: if (newkey < MIN_KEY_LENGTH && (pkey_type == TYPE_RSA || pkey_type == TYPE_DSA)) { BIO_printf(bio_err,"private key length is too short,\n"); - BIO_printf(bio_err,"it needs to be at least %d bits, not %d\n",MIN_KEY_LENGTH,newkey); + BIO_printf(bio_err,"it needs to be at least %d bits, not %ld\n",MIN_KEY_LENGTH,newkey); goto end; } - BIO_printf(bio_err,"Generating a %d bit %s private key\n", + BIO_printf(bio_err,"Generating a %ld bit %s private key\n", newkey,(pkey_type == TYPE_RSA)?"RSA": (pkey_type == TYPE_DSA)?"DSA":"EC"); -- cgit v1.2.3