12 lines
391 B
Diff
12 lines
391 B
Diff
--- ext/dtls/gstdtlsagent.c 2018-03-23 21:45:15.000000000 +0100
|
|
+++ - 2018-09-09 14:05:57.663350425 +0200
|
|
@@ -176,7 +176,7 @@
|
|
|
|
ERR_clear_error ();
|
|
|
|
-#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
|
|
+#if OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(LIBRESSL_VERSION_NUMBER)
|
|
priv->ssl_context = SSL_CTX_new (DTLS_method ());
|
|
#else
|
|
priv->ssl_context = SSL_CTX_new (DTLSv1_method ());
|