From: Dr. Stephen Henson Date: Fri, 23 Sep 2011 21:48:59 +0000 (+0000) Subject: use keyformat for -x509toreq, don't hard code PEM X-Git-Tag: OpenSSL_1_0_0f~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=872e3fd5028a8467cea502527a6a3c144b95cb5c;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; }