From: Fabian Keil Date: Fri, 4 Dec 2020 19:55:43 +0000 (+0100) Subject: OpenSSL create_client_ssl_connection(): Remove unused variable X-Git-Tag: v_3_0_30~271^2~84 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=bc691efb3976886631d4c6f91f8791fb702c459a;p=privoxy.git OpenSSL create_client_ssl_connection(): Remove unused variable --- 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,