From 872e3fd5028a8467cea502527a6a3c144b95cb5c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 23 Sep 2011 21:48:59 +0000 Subject: [PATCH] use keyformat for -x509toreq, don't hard code PEM --- apps/x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1