Marcus Meissner
e426f6663a
update OBS-URL: https://build.opensuse.org/request/show/174329 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=37
14 lines
334 B
Diff
14 lines
334 B
Diff
--- src/openssl.c.orig
|
|
+++ src/openssl.c
|
|
@@ -241,7 +241,9 @@
|
|
/* 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:
|