From: Richard Levitte Date: Tue, 19 May 2020 13:56:18 +0000 (+0200) Subject: APPS: Make it possible to load_cert() from stdin again X-Git-Tag: openssl-3.0.0-alpha4~170 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=0808a75e4db421f0f33d866b0abfe10db4f472f2 APPS: Make it possible to load_cert() from stdin again Fixes #11871 Reviewed-by: Viktor Dukhovni (Merged from https://github.com/openssl/openssl/pull/11873) --- diff --git a/apps/lib/apps.c b/apps/lib/apps.c index 087ef4ec84..df4450d7e4 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -453,7 +453,7 @@ X509 *load_cert_pass(const char *uri, int maybe_stdin, /* the format parameter is meanwhile not needed anymore and thus ignored */ X509 *load_cert(const char *uri, int format, const char *desc) { - return load_cert_pass(uri, 0, NULL, desc); + return load_cert_pass(uri, 1, NULL, desc); } /* the format parameter is meanwhile not needed anymore and thus ignored */