diff --git a/nse_nsock.cc b/nse_nsock.cc index 9cda82d9a..0f02a1e9c 100644 --- a/nse_nsock.cc +++ b/nse_nsock.cc @@ -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