You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
882 B
20 lines
882 B
--- neon-0.28.2/src/ne_openssl.c.nocomp
|
|
+++ neon-0.28.2/src/ne_openssl.c
|
|
@@ -1,6 +1,6 @@
|
|
/*
|
|
neon SSL/TLS support using OpenSSL
|
|
- Copyright (C) 2002-2007, Joe Orton <joe@manyfish.co.uk>
|
|
+ Copyright (C) 2002-2008, Joe Orton <joe@manyfish.co.uk>
|
|
Portions are:
|
|
Copyright (C) 1999-2000 Tommi Komulainen <Tommi.Komulainen@iki.fi>
|
|
|
|
@@ -545,7 +545,7 @@ ne_ssl_context *ne_ssl_context_create(in
|
|
/* set client cert callback. */
|
|
SSL_CTX_set_client_cert_cb(ctx->ctx, provide_client_cert);
|
|
/* enable workarounds for buggy SSL server implementations */
|
|
- SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL);
|
|
+ SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL | SSL_OP_NO_COMP);
|
|
} else if (mode == NE_SSL_CTX_SERVER) {
|
|
ctx->ctx = SSL_CTX_new(SSLv23_server_method());
|
|
SSL_CTX_set_session_cache_mode(ctx->ctx, SSL_SESS_CACHE_CLIENT);
|