diff --git a/src/config.c b/src/config.c index aeb2c95..787f45c 100644 --- a/src/config.c +++ b/src/config.c @@ -41,7 +41,7 @@ LSEC_API int luaopen_ssl_config(lua_State *L) lua_pushstring(L, "tlsv1_2"); lua_pushboolean(L, 1); lua_rawset(L, -3); -#if defined(TLS1_3_VERSION) +#ifdef TLS1_3_VERSION lua_pushstring(L, "tlsv1_3"); lua_pushboolean(L, 1); lua_rawset(L, -3); @@ -74,7 +74,7 @@ LSEC_API int luaopen_ssl_config(lua_State *L) lua_pushboolean(L, 1); lua_rawset(L, -3); -#if defined(LSEC_ENABLE_DANE) +#ifdef LSEC_ENABLE_DANE // DANE lua_pushstring(L, "dane"); lua_pushboolean(L, 1);