1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-09 07:59:03 +00:00

Fix a bug that prevents Nmap to compile on systems that lacks OpenSSL. This patch was contributed by Patrik Karlsson.

This commit is contained in:
djalal
2010-09-26 10:43:32 +00:00
parent 594e2dcacc
commit 85030874ea

View File

@@ -721,9 +721,9 @@ SSL *nse_nsock_get_ssl (lua_State *L)
}
#else
/* If HAVE_OPENSSL is defined, this comes from nse_ssl_cert.cc. */
int get_ssl_certificate (lua_State *L)
int l_get_ssl_certificate (lua_State *L)
{
return luaL_error("SSL is not available");
return luaL_error(L, "SSL is not available");
}
#endif