Browse Source

Fix TLS1.3 support

Fix TLS1.3 support

`TLSv1_3_SUPPORTED` was not defined so TLS1.3 was not enabled properly
Pavel Punsky 3 years ago
parent
commit
e87c42524a
1 changed files with 6 additions and 0 deletions
  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