Valentin Lefebvre
a6525f9d18
GNU wget 1.24.5 OBS-URL: https://build.opensuse.org/request/show/1156772 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=122
16 lines
475 B
Diff
16 lines
475 B
Diff
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)
|
|
/* 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:
|