From 57cea5baf616a4a435650d174bfb435578c770c5 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 18 May 2021 17:20:49 +0200 Subject: apps: Cleanup useless bio_open_default() calls for key input Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/15331) --- apps/pkey.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/pkey.c') diff --git a/apps/pkey.c b/apps/pkey.c index ddc3414d0c..781f376837 100644 --- a/apps/pkey.c +++ b/apps/pkey.c @@ -67,7 +67,7 @@ const OPTIONS pkey_options[] = { int pkey_main(int argc, char **argv) { - BIO *in = NULL, *out = NULL; + BIO *out = NULL; ENGINE *e = NULL; EVP_PKEY *pkey = NULL; EVP_PKEY_CTX *ctx = NULL; @@ -321,7 +321,6 @@ int pkey_main(int argc, char **argv) EVP_CIPHER_free(cipher); release_engine(e); BIO_free_all(out); - BIO_free(in); OPENSSL_free(passin); OPENSSL_free(passout); -- cgit v1.2.3