summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-04-03 23:39:48 +0000
committerRichard Levitte <levitte@openssl.org>2003-04-03 23:39:48 +0000
commit3ae70939baf60524135f7e3c47e93ad2a55e611b (patch)
tree62a88e95d778e3474bd38db0a68b67d921310b56 /apps/req.c
parentc433d72593bb77c0200d2f3b61c9192f81163631 (diff)
Correct a lot of printing calls. Remove extra arguments...
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c4
1 files changed, 2 insertions, 2 deletions
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");