projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b89367d
)
OpenSSL: Log the TLS version and the the cipher used
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 13 Feb 2021 21:36:51 +0000
(22:36 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 21 Feb 2021 15:09:20 +0000
(16:09 +0100)
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
2ab67c9
..
c4783fb
100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-869,7
+869,9
@@
extern int create_client_ssl_connection(struct client_state *csp)
goto exit;
}
goto exit;
}
- log_error(LOG_LEVEL_CONNECT, "Client successfully connected over TLS/SSL");
+ log_error(LOG_LEVEL_CONNECT, "Client successfully connected over %s (%s).",
+ SSL_get_version(ssl), SSL_get_cipher_name(ssl));
+
csp->ssl_with_client_is_opened = 1;
ret = 0;
csp->ssl_with_client_is_opened = 1;
ret = 0;
@@
-1179,7
+1181,8
@@
extern int create_server_ssl_connection(struct client_state *csp)
}
}
}
}
- log_error(LOG_LEVEL_CONNECT, "Server successfully connected over TLS/SSL");
+ log_error(LOG_LEVEL_CONNECT, "Server successfully connected over %s (%s).",
+ SSL_get_version(ssl), SSL_get_cipher_name(ssl));
/*
* Server certificate chain is valid, so we can clean
/*
* Server certificate chain is valid, so we can clean