diff options
author | Richard Levitte <levitte@openssl.org> | 2020-05-22 19:09:45 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-06-06 10:34:16 +0200 |
commit | f5e23fe88904fb5309e5b199bf5254b06dd4f883 (patch) | |
tree | 8ab4bebd8af4b01a8b939341a40507cb4addb2fc /apps/lib | |
parent | 0808a75e4db421f0f33d866b0abfe10db4f472f2 (diff) |
APPS: Remove unnecessary NULL check of uri in load_cert_pass()
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11873)
Diffstat (limited to 'apps/lib')
-rw-r--r-- | apps/lib/apps.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/lib/apps.c b/apps/lib/apps.c index df4450d7e4..6fd27c3665 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -438,10 +438,6 @@ X509 *load_cert_pass(const char *uri, int maybe_stdin, if (desc == NULL) desc = "certificate"; - if (uri == NULL) { - unbuffer(stdin); - uri = ""; - } (void)load_key_cert_crl(uri, maybe_stdin, pass, desc, NULL, &cert, NULL); if (cert == NULL) { BIO_printf(bio_err, "Unable to load %s\n", desc); |