From 40e8194122ea914be0679b8c21f2d4aa30b47b96 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Fri, 9 Sep 2016 15:42:04 +0900 Subject: TLS: log TLS version and cipher --- common/ssl_calls.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/ssl_calls.h') diff --git a/common/ssl_calls.h b/common/ssl_calls.h index 1277505c..38eaeec2 100644 --- a/common/ssl_calls.h +++ b/common/ssl_calls.h @@ -109,4 +109,7 @@ ssl_tls_write(struct ssl_tls *tls, const char *data, int length); int APP_CC ssl_tls_can_recv(struct ssl_tls *tls, int sck, int millis); +const char *ssl_get_version(const struct ssl_st *ssl); +const char *ssl_get_cipher_name(const struct ssl_st *ssl); + #endif -- cgit v1.2.1