From 1e2f342006fffa635570873384fb5304b4ef3925 Mon Sep 17 00:00:00 2001 From: Bruno Silvestre Date: Sun, 13 Oct 2019 22:11:55 -0300 Subject: [PATCH] Using same form to ifdefs --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);