Disable DANE for LibreSSL

This commit is contained in:
Bruno Silvestre
2019-07-11 11:19:21 -03:00
parent 8722f83e8f
commit f64e660de0
4 changed files with 12 additions and 5 deletions

View File

@ -826,7 +826,7 @@ static int meth_copyright(lua_State *L)
return 1;
}
#if (OPENSSL_VERSION_NUMBER >= 0x1010000fL)
#if defined(LSEC_ENABLE_DANE)
static int meth_dane(lua_State *L)
{
int ret;
@ -878,7 +878,7 @@ static luaL_Reg methods[] = {
{"settimeout", meth_settimeout},
{"sni", meth_sni},
{"want", meth_want},
#if (OPENSSL_VERSION_NUMBER >= 0x1010000fL)
#if defined(LSEC_ENABLE_DANE)
{"setdane", meth_dane},
{"settlsa", meth_tlsa},
#endif