summaryrefslogtreecommitdiffstats
path: root/common/ssl_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ssl_calls.c')
-rw-r--r--common/ssl_calls.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/ssl_calls.c b/common/ssl_calls.c
index 102c6e39..16fc55ed 100644
--- a/common/ssl_calls.c
+++ b/common/ssl_calls.c
@@ -891,3 +891,17 @@ ssl_tls_can_recv(struct ssl_tls *tls, int sck, int millis)
return g_sck_can_recv(sck, millis);
}
+
+/*****************************************************************************/
+const char *
+ssl_get_version(const struct ssl_st *ssl)
+{
+ return SSL_get_version(ssl);
+}
+
+/*****************************************************************************/
+const char *
+ssl_get_cipher_name(const struct ssl_st *ssl)
+{
+ return SSL_get_cipher_name(ssl);
+}