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