mirror of
https://github.com/brunoos/luasec.git
synced 2025-08-02 14:11:37 +02:00
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:
@ -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([[
|
||||
};
|
||||
|
Reference in New Issue
Block a user