From e87c42524afa8dfb9f6c97e4eaa57a05de758718 Mon Sep 17 00:00:00 2001 From: Pavel Punsky Date: Wed, 28 Sep 2022 20:28:09 -0700 Subject: [PATCH] Fix TLS1.3 support Fix TLS1.3 support `TLSv1_3_SUPPORTED` was not defined so TLS1.3 was not enabled properly --- src/apps/common/apputils.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/apps/common/apputils.h b/src/apps/common/apputils.h index 0d8efa7f..b6faad97 100644 --- a/src/apps/common/apputils.h +++ b/src/apps/common/apputils.h @@ -87,6 +87,12 @@ extern int IS_TURN_SERVER; #else #define TLSv1_2_SUPPORTED 0 #endif + + #if defined(SSL_OP_NO_TLSv1_3) + #define TLSv1_3_SUPPORTED 1 + #else + #define TLSv1_3_SUPPORTED 0 + #endif #endif