projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88ac0fa
)
OpenSSL create_client_ssl_connection(): Remove unused variable
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 4 Dec 2020 19:55:43 +0000
(20:55 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 6 Dec 2020 16:33:55 +0000
(17:33 +0100)
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
2c065cc
..
72d97d9
100644
(file)
--- 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;
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;
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
*/
/*
* 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,
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,