瀏覽代碼

Fix TLS1.3 support

Fix TLS1.3 support

`TLSv1_3_SUPPORTED` was not defined so TLS1.3 was not enabled properly
Pavel Punsky 3 年之前
父節點
當前提交
e87c42524a
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/apps/common/apputils.h

+ 6 - 0
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