aboutsummaryrefslogtreecommitdiff
path: root/openssl/apps/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/apps/x509.c')
-rw-r--r--openssl/apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/apps/x509.c b/openssl/apps/x509.c
index ed1e8c69a..9f5eaeb6b 100644
--- a/openssl/apps/x509.c
+++ b/openssl/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;
}