aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-19 00:00:49 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-19 00:00:49 +1000
commitd0e680c9d6535c08e62eb37fab4c9a700e7449d0 (patch)
treed6d41808f817e45a23cf03b44699e78b95bb3390 /src
parentd472e5d51ba460f59ceafcb2c09bd3482eb72139 (diff)
downloadluaossl-d0e680c9d6535c08e62eb37fab4c9a700e7449d0.tar.gz
luaossl-d0e680c9d6535c08e62eb37fab4c9a700e7449d0.tar.bz2
luaossl-d0e680c9d6535c08e62eb37fab4c9a700e7449d0.zip
Fix incorrect error prefixes
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 23070b9..5758813 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -8223,7 +8223,7 @@ static int sx_setHostnameCallback(lua_State *L) {
} else if (error == auxL_EOPENSSL && !ERR_peek_error()) {
return luaL_error(L, "unable to set hostname selection callback: Unknown internal error");
} else {
- return auxL_error(L, error, "ssl.context:setAlpnSelect");
+ return auxL_error(L, error, "ssl.context:setHostnameCallback");
}
}
SSL_CTX_set_tlsext_servername_callback(ctx, sx_setHostnameCallback_cb);
@@ -8248,7 +8248,7 @@ static int sx_setTLSextStatusType(lua_State *L) {
int type = checkTLSEXT_STATUSTYPE(L, 2);
if(!SSL_CTX_set_tlsext_status_type(ctx, type))
- return auxL_error(L, auxL_EOPENSSL, "ssl:setTLSextStatusType");
+ return auxL_error(L, auxL_EOPENSSL, "ssl.context:setTLSextStatusType");
lua_pushboolean(L, 1);