patch-xioopts_c 891 B

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