Only use SSL_OP_NO_COMPRESSION if it is defined
authorJouni Malinen <j@w1.fi>
Wed, 21 May 2008 07:10:10 +0000 (10:10 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 21 May 2008 07:10:10 +0000 (10:10 +0300)
commitfca25ef4b460fe20ebf824365e99de3374355bff
tree3d5840c5ac387ea68f37a0972b3c706d68cf9573
parent1f358437d364cd9a9cf2b0a83128976e7546e70d
Only use SSL_OP_NO_COMPRESSION if it is defined

It looks like this SSL_set_options() value was added in 0.9.9 and it does
not exist in stable releases of OpenSSL. Fix build by using #ifdef on this
variable before use.
src/crypto/tls_openssl.c