summaryrefslogtreecommitdiff
path: root/apps/rsautl.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-10-24 16:31:57 +0200
committerRichard Levitte <levitte@openssl.org>2020-10-26 09:43:39 +0100
commit22dddfb925da8775eaf4ee8c377da41e6535afe1 (patch)
tree86eae67fce686dd241e2540b7b03b42b247f7918 /apps/rsautl.c
parentb6120b5f5442c3ddd081a9378ec89b888c3bb0fe (diff)
APPS: Remove the format argument where it's not used
Also, restore a behaviour change, where load_cert() would look at stdin when the input file name is NULL, and make sure to call load_cert_pass() with a corresponding argument where load_cert() was used in OpenSSL 1.1.1. Fixes #13235 Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13236)
Diffstat (limited to 'apps/rsautl.c')
-rw-r--r--apps/rsautl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rsautl.c b/apps/rsautl.c
index 49d9fcfea4..9b5456cb89 100644
--- a/apps/rsautl.c
+++ b/apps/rsautl.c
@@ -197,7 +197,7 @@ int rsautl_main(int argc, char **argv)
break;
case KEY_CERT:
- x = load_cert(keyfile, FORMAT_UNDEF, "Certificate");
+ x = load_cert(keyfile, "Certificate");
if (x) {
pkey = X509_get_pubkey(x);
X509_free(x);