From: Dr. Stephen Henson Date: Fri, 23 Sep 2011 21:48:34 +0000 (+0000) Subject: use keyformat for -x509toreq, don't hard code PEM X-Git-Tag: OpenSSL-fips-2_0-rc1~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1579e65604b859ccb0b11fd8179aa66ecdc0684d;p=oweals%2Fopenssl.git use keyformat for -x509toreq, don't hard code PEM --- 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; }