From 0808a75e4db421f0f33d866b0abfe10db4f472f2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 19 May 2020 15:56:18 +0200 Subject: [PATCH] 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) --- apps/lib/apps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.34.1