| 1 | diff -u -r ../socat-1.7.3.0/xioopts.c ./xioopts.c |
| 2 | --- ../socat-1.7.3.0/xioopts.c 2015-01-24 05:15:22.000000000 -0500 |
| 3 | +++ ./xioopts.c 2015-03-06 15:33:38.792143669 -0500 |
| 4 | @@ -296,7 +296,7 @@ |
| 5 | #if WITH_EXT2 && defined(EXT2_COMPR_FL) |
| 6 | IF_ANY ("compr", &opt_ext2_compr) |
| 7 | #endif |
| 8 | -#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
| 9 | +#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
| 10 | IF_OPENSSL("compress", &opt_openssl_compress) |
| 11 | #endif |
| 12 | #ifdef TCP_CONN_ABORT_THRESHOLD /* HP_UX */ |
| 13 | @@ -1098,7 +1098,7 @@ |
| 14 | IF_OPENSSL("openssl-certificate", &opt_openssl_certificate) |
| 15 | IF_OPENSSL("openssl-cipherlist", &opt_openssl_cipherlist) |
| 16 | IF_OPENSSL("openssl-commonname", &opt_openssl_commonname) |
| 17 | -#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
| 18 | +#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
| 19 | IF_OPENSSL("openssl-compress", &opt_openssl_compress) |
| 20 | #endif |
| 21 | IF_OPENSSL("openssl-dhparam", &opt_openssl_dhparam) |