From 3a8ca319b35a3b3533b1f1ca55e904cfcb71962c Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Mon, 31 May 2021 13:33:48 -0700 Subject: Configurable minimum supported TLS protocol version `-o ssl_min_version` can be used to configure the server to only accept handshakes from clients with a minimum TLS protocol version. Currently supported options are TLS v1.0, TLS v1.1, TLS v1.2, and TLS v1.3 (OpenSSL 1.1.1+ only). --- tls.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tls.h') diff --git a/tls.h b/tls.h index 3ec2e29..18e7e0d 100644 --- a/tls.h +++ b/tls.h @@ -15,5 +15,6 @@ int ssl_init(void); bool refresh_certs(char **errmsg); void ssl_callback(const SSL *s, int where, int ret); int ssl_new_session_callback(SSL *s, SSL_SESSION *sess); +const char *ssl_proto_text(int version); #endif -- cgit v1.2.1