aboutsummaryrefslogtreecommitdiff
path: root/ffmpeg/libressl.patch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-03-19 07:50:30 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-03-19 07:50:30 +0000
commit52a4b1748b500bf0738a18fd2a4a8227a9fca715 (patch)
treeb14f1c0bb14f9fc826f007207af8221aaf94cd4a /ffmpeg/libressl.patch
parent98927fd7c1bea033a0b0f9eabe8a0c6876f8773c (diff)
downloadalicelinux-52a4b1748b500bf0738a18fd2a4a8227a9fca715.tar.gz
alicelinux-52a4b1748b500bf0738a18fd2a4a8227a9fca715.zip
Woodpecker CI 9d24f4d3c03c15ed8e0e597668de8e5c8f407aff [SKIP CI]
Diffstat (limited to 'ffmpeg/libressl.patch')
-rw-r--r--ffmpeg/libressl.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/ffmpeg/libressl.patch b/ffmpeg/libressl.patch
deleted file mode 100644
index 17398d4b..00000000
--- a/ffmpeg/libressl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- ffmpeg-8.0-orig/libavformat/tls_openssl.c
-+++ ffmpeg-8.0/libavformat/tls_openssl.c
-@@ -716,7 +716,7 @@
- }
-
- /* Check whether the handshake is completed. */
-- if (SSL_is_init_finished(p->ssl) != TLS_ST_OK)
-+ if (!SSL_is_init_finished(p->ssl))
- goto end;
-
- ret = 0;
-@@ -869,7 +869,9 @@
- c->mtu = 1096;
- SSL_set_options(p->ssl, SSL_OP_NO_QUERY_MTU);
- SSL_set_mtu(p->ssl, c->mtu);
-- DTLS_set_link_mtu(p->ssl, c->mtu);
-+ #ifndef LIBRESSL_VERSION_NUMBER
-+ DTLS_set_link_mtu(p->ssl, c->mtu);
-+ #endif
- init_bio_method(h);
- if (p->tls_shared.external_sock != 1) {
- if ((ret = ff_tls_open_underlying(&p->tls_shared, h, url, options)) < 0) {
-@@ -1009,7 +1011,9 @@
- uc->flags |= h->flags & AVIO_FLAG_NONBLOCK;
-
- if (c->tls_shared.is_dtls)
-- size = FFMIN(size, DTLS_get_data_mtu(c->ssl));
-+ #ifndef LIBRESSL_VERSION_NUMBER
-+ size = FFMIN(size, DTLS_get_data_mtu(c->ssl));
-+ #endif
-
- ret = SSL_write(c->ssl, buf, size);
- if (ret > 0)