mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix build when building without OpenSSL (since r33781)
This commit is contained in:
@@ -770,11 +770,16 @@ SSL *nse_nsock_get_ssl (lua_State *L)
|
||||
return (SSL *) nsi_getssl(nu->nsiod);
|
||||
}
|
||||
#else
|
||||
/* If HAVE_OPENSSL is defined, this comes from nse_ssl_cert.cc. */
|
||||
/* If HAVE_OPENSSL is defined, these come from nse_ssl_cert.cc. */
|
||||
int l_get_ssl_certificate (lua_State *L)
|
||||
{
|
||||
return luaL_error(L, "SSL is not available");
|
||||
}
|
||||
|
||||
int l_parse_ssl_certificate(lua_State *L)
|
||||
{
|
||||
return luaL_error(L, "SSL is not available");
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Set the local address for socket operations. The two optional parameters
|
||||
|
||||
Reference in New Issue
Block a user