projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
create_server_ssl_connection(): Free certificate chain when the handshake fails
[privoxy.git]
/
ssl.c
diff --git
a/ssl.c
b/ssl.c
index
c9e09a7
..
a7bf709
100644
(file)
--- a/
ssl.c
+++ b/
ssl.c
@@
-828,6
+828,7
@@
extern int create_server_ssl_connection(struct client_state *csp)
{
log_error(LOG_LEVEL_ERROR,
"mbedtls_ssl_handshake with server failed: %s", err_buf);
+ free_certificate_chain(csp);
ret = -1;
}
goto exit;