[openssl-dev] [openssl.org #4608] Dead code in apps/openssl.c
paul.dale@oracle.com via RT
rt at openssl.org
Wed Jul 6 00:24:23 UTC 2016
I found some dead code in apps/openssl.c which appears to be some legacy configuration handling.
Patch to remove it is attached.
Pauli
--
Oracle
Dr Paul Dale | Cryptographer | Network Security & Encryption
Phone +61 7 3031 7217
Oracle Australia
--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4608
Please log in as guest with password guest if prompted
-------------- next part --------------
diff --git a/apps/openssl.c b/apps/openssl.c
index 78ed023..d74fe2a 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -58,7 +58,6 @@ static void list_type(FUNC_TYPE ft);
static void list_disabled(void);
char *default_config_file = NULL;
-static CONF *config = NULL;
BIO *bio_in = NULL;
BIO *bio_out = NULL;
BIO *bio_err = NULL;
@@ -243,8 +242,6 @@ int main(int argc, char *argv[])
end:
OPENSSL_free(copied_argv);
OPENSSL_free(default_config_file);
- NCONF_free(config);
- config = NULL;
lh_FUNCTION_free(prog);
OPENSSL_free(arg.argv);
More information about the openssl-dev
mailing list