Index: nse_nsock.cc =================================================================== --- nse_nsock.cc (revision 20364) +++ nse_nsock.cc (working copy) @@ -721,9 +721,9 @@ } #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