diff options
Diffstat (limited to 'main/gst-plugins-bad/libressl270-dtsl_method.patch')
-rw-r--r-- | main/gst-plugins-bad/libressl270-dtsl_method.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/gst-plugins-bad/libressl270-dtsl_method.patch b/main/gst-plugins-bad/libressl270-dtsl_method.patch new file mode 100644 index 0000000000..6ea6085180 --- /dev/null +++ b/main/gst-plugins-bad/libressl270-dtsl_method.patch @@ -0,0 +1,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]; + |