options: Remove dead code

The workaround for 'no_compression' on older OpenSSL is handled in context.c;
set_option_flag (which uses ssl_options) is never called, so this shouldn't
exist.
This commit is contained in:
Paul Aurich
2013-06-12 18:38:44 -07:00
parent 4c5ce1b177
commit 2dae14877e
2 changed files with 1 additions and 10 deletions

View File

@ -51,11 +51,6 @@ typedef struct ssl_option_s ssl_option_t;
print(string.format([[ {"%s", %s},]], name, option))
print([[#endif]])
end
print([[
#if !defined(SSL_OP_NO_COMPRESSION) && (OPENSSL_VERSION_NUMBER >= 0x0090800f) && (OPENSSL_VERSION_NUMBER < 0x1000000fL)
/* Add SSL_OP_NO_COMPRESSION manually if built against 0.9.8. */
{"no_compression", 0L},
#endif]])
print([[ {NULL, 0L}]])
print([[
};