diff options
author | Richard Levitte <levitte@openssl.org> | 2020-05-19 15:56:18 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-06-06 10:34:16 +0200 |
commit | 0808a75e4db421f0f33d866b0abfe10db4f472f2 (patch) | |
tree | fb9c21aeec43ec2dca893b964ef05cdd1351b717 /apps | |
parent | Fix a typo in SSL_CTX_set_session_ticket_cb.pod (diff) | |
download | openssl-0808a75e4db421f0f33d866b0abfe10db4f472f2.tar.xz openssl-0808a75e4db421f0f33d866b0abfe10db4f472f2.zip |
APPS: Make it possible to load_cert() from stdin again
Fixes #11871
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11873)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/lib/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |