Suppress warning with OpenSSL 1.1.0 and 1.1.1

This commit is contained in:
Bruno Silvestre 2018-09-12 18:43:44 -03:00
parent 113331fa0c
commit 2ecf239cfe

View File

@ -588,7 +588,7 @@ static int set_curves_list(lua_State *L)
return 2;
}
SSL_CTX_set_ecdh_auto(ctx, 1);
(void)SSL_CTX_set_ecdh_auto(ctx, 1);
lua_pushboolean(L, 1);
return 1;