summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-09-23 21:48:50 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-09-23 21:48:50 +0000
commit1fe83b4afe7f84c87a60cf2a8e47260a28e73940 (patch)
treeed14b5e408fe4d551d733308c7e2a6585aebed31
parente8f31f80d1d4e060019078ea1b0fcf51462efd71 (diff)
downloadopenssl-new-1fe83b4afe7f84c87a60cf2a8e47260a28e73940.tar.gz
use keyformat for -x509toreq, don't hard code PEM
-rw-r--r--apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c
index ed1e8c69ad..9f5eaeb6be 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -987,7 +987,7 @@ bad:
else
{
pk=load_key(bio_err,
- keyfile, FORMAT_PEM, 0,
+ keyfile, keyformat, 0,
passin, e, "request key");
if (pk == NULL) goto end;
}