From: Frederik Wedel-Heinen Date: Wed, 4 Oct 2023 09:37:10 +0000 (+0200) Subject: Add dtls1.3 to ssl_protocol_to_string() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acec6d68c1071bd696d58a4b90006830c7542603;p=thirdparty%2Fopenssl.git Add dtls1.3 to ssl_protocol_to_string() Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22273) --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 5afd89c3e9c..46ecdd4f858 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -4970,6 +4970,9 @@ const char *ssl_protocol_to_string(int version) case DTLS1_2_VERSION: return "DTLSv1.2"; + case DTLS1_3_VERSION: + return "DTLSv1.3"; + default: return "unknown"; }