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