From bc691efb3976886631d4c6f91f8791fb702c459a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 4 Dec 2020 20:55:43 +0100 Subject: [PATCH] OpenSSL create_client_ssl_connection(): Remove unused variable --- openssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/openssl.c b/openssl.c index 2c065cc5..72d97d99 100644 --- a/openssl.c +++ b/openssl.c @@ -735,7 +735,6 @@ extern int create_client_ssl_connection(struct client_state *csp) struct ssl_attr *ssl_attr = &csp->ssl_client_attr; /* Paths to certificates file and key file */ char *key_file = NULL; - char *ca_file = NULL; char *cert_file = NULL; int ret = 0; SSL *ssl; @@ -759,7 +758,6 @@ extern int create_client_ssl_connection(struct client_state *csp) /* * Preparing paths to certificates files and key file */ - ca_file = csp->config->ca_cert_file; cert_file = make_certs_path(csp->config->certificate_directory, (const char *)csp->http->hash_of_host_hex, CERT_FILE_TYPE); key_file = make_certs_path(csp->config->certificate_directory, -- 2.39.2