1
0
Эх сурвалжийг харах

Fix TLS1.3 support

Fix TLS1.3 support

`TLSv1_3_SUPPORTED` was not defined so TLS1.3 was not enabled properly
Pavel Punsky 3 жил өмнө
parent
commit
e87c42524a

+ 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