2024-07-03 10:54:37 +02:00
|
|
|
Index: wget-1.24.5/src/openssl.c
|
|
|
|
===================================================================
|
|
|
|
--- wget-1.24.5.orig/src/openssl.c
|
|
|
|
+++ wget-1.24.5/src/openssl.c
|
|
|
|
@@ -426,7 +426,9 @@ ssl_init (void)
|
2024-05-04 01:53:05 +02:00
|
|
|
/* The OpenSSL library can handle renegotiations automatically, so
|
|
|
|
tell it to do so. */
|
|
|
|
SSL_CTX_set_mode (ssl_ctx, SSL_MODE_AUTO_RETRY);
|
|
|
|
-
|
|
|
|
+#ifdef SSL_OP_NO_COMPRESSION
|
|
|
|
+ SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_COMPRESSION);
|
|
|
|
+#endif
|
|
|
|
return true;
|
|
|
|
|
|
|
|
error:
|