On Tue, Jul 31, 2012, Sebastian Raymond wrote:

> Hello,
> 
> I have written a SSL client program to talk with SSL server.
> 
> I have a linux machine and Openssl 1.0.0e is installed with zlib enabled.
> That means, deflate compression method is supported.
> 
> I want to transfer the data without compression. Therefore, I used
> following to disable the compression.
> 
> SSL_CTX_set_options(ctx, SSL_OP_NO_COMPRESSION);
> 
> Where ctx is SSL_CTX object.
> 
> When I inspect the traffic in Wireshark, I still see that my client program
> is offering deflate compression method and server is replying with server
> hello that chooses deflate as compression.
> 

What happens if you try this with the s_server utility and the -no_comp
command line option?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to