Ramaswamy BM wrote:
Try this
   SSL_CTX * tls_ctx;

   STACK_OF(SSL_COMP)* compression ;

   compression = SSL_COMP_get_compression_methods();

sk_SSL_COMP_zero(compression); It should disable the compression support for !! ....

You can also use below API accordingly to enable/disable required encryption/authentication algorithms for a given context.

SSL_CTX_set_cipher_list(*tls_ctx, "!RSA:!ADH:!NULL:!aNULL!RC4:!RC5:!kEDH:!DES:!AES256-SHA:!EXPORT")


Best Regards ,
Ram


Corin Lawson wrote:
Hi All,

Is it possible to establish an SSL connection with no compression? How?

While I'm at it, is it possible to use no encryption?

I.e. I only want SSL to authenticate/verify identity (handshake).

Cheers, Corin. ______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@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