From 1579e65604b859ccb0b11fd8179aa66ecdc0684d Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 23 Sep 2011 21:48:34 +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 e402f6a4e0..3863ab968d 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -999,7 +999,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.34.1