From 91a1d08a4c40a1f69da69c8738b7750d369b2dcc Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 23 Sep 2011 21:49:08 +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 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; } -- 2.25.1