diff --git a/apps/x509.c b/apps/x509.c index ed1e8c69a..9f5eaeb6b 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; }