From 661d08e5f30add7b51752d8663c3a65dd2987ebf Mon Sep 17 00:00:00 2001 From: Bruno Silvestre Date: Wed, 12 Sep 2018 18:08:19 -0300 Subject: [PATCH] Removing OpenSSL 0.9.8 code --- src/context.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/context.c b/src/context.c index f07e8db..007c47f 100644 --- a/src/context.c +++ b/src/context.c @@ -486,12 +486,6 @@ static int set_options(lua_State *L) if (max > 1) { for (i = 2; i <= max; i++) { str = luaL_checkstring(L, i); -#if !defined(SSL_OP_NO_COMPRESSION) && (OPENSSL_VERSION_NUMBER >= 0x0090800f) && (OPENSSL_VERSION_NUMBER < 0x1000000fL) - /* Version 0.9.8 has a different way to disable compression */ - if (!strcmp(str, "no_compression")) - ctx->comp_methods = NULL; - else -#endif if (!set_option_flag(str, &flag)) { lua_pushboolean(L, 0); lua_pushfstring(L, "invalid option (%s)", str);