--- socat-1.7.3.0.orig/xioopts.c 2015-01-24 11:15:22.000000000 +0100 +++ socat-1.7.3.0/xioopts.c 2015-12-29 23:28:16.000000000 +0100 @@ -296,7 +296,7 @@ const struct optname optionnames[] = { #if WITH_EXT2 && defined(EXT2_COMPR_FL) IF_ANY ("compr", &opt_ext2_compr) #endif -#if OPENSSL_VERSION_NUMBER >= 0x00908000L +#if !defined(OPENSSL_NO_COMP) IF_OPENSSL("compress", &opt_openssl_compress) #endif #ifdef TCP_CONN_ABORT_THRESHOLD /* HP_UX */ @@ -1098,7 +1098,7 @@ const struct optname optionnames[] = { IF_OPENSSL("openssl-certificate", &opt_openssl_certificate) IF_OPENSSL("openssl-cipherlist", &opt_openssl_cipherlist) IF_OPENSSL("openssl-commonname", &opt_openssl_commonname) -#if OPENSSL_VERSION_NUMBER >= 0x00908000L +#if !defined(OPENSSL_NO_COMP) IF_OPENSSL("openssl-compress", &opt_openssl_compress) #endif IF_OPENSSL("openssl-dhparam", &opt_openssl_dhparam)