aboutsummaryrefslogtreecommitdiffstats
path: root/community/gst-plugins-bad/libressl270-dtsl_method.patch
blob: 6ea6085180213210ef1b869bdbea6457f0156d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/ext/dtls/gstdtlsagent.c
+++ b/ext/dtls/gstdtlsagent.c
@@ -176,11 +176,11 @@
 
   ERR_clear_error ();
 
-#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
-  priv->ssl_context = SSL_CTX_new (DTLS_method ());
-#else
+//#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
+ // priv->ssl_context = SSL_CTX_new (DTLS_method ());
+//#else
   priv->ssl_context = SSL_CTX_new (DTLSv1_method ());
-#endif
+//#endif
   if (ERR_peek_error () || !priv->ssl_context) {
     char buf[512];