summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-09-23 21:49:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-09-23 21:49:08 +0000
commit91a1d08a4c40a1f69da69c8738b7750d369b2dcc (patch)
tree8b1368f8ae5d9b4ec046aff0e4cec6a1e080d425 /apps
parent85e776885b3981a28a53b38ee74185dc6720ce63 (diff)
use keyformat for -x509toreq, don't hard code PEM
Diffstat (limited to 'apps')
-rw-r--r--apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 151d3a91a7..b16afd0666 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -969,7 +969,7 @@ bad:
else
{
pk=load_key(bio_err,
- keyfile, FORMAT_PEM, 0,
+ keyfile, keyformat, 0,
passin, e, "request key");
if (pk == NULL) goto end;
}