aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-05-28 18:59:41 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-05-28 18:59:41 +1000
commit298fa9eb658a25e75d3db936366ede339fa2c8e0 (patch)
treea776d35b0c16a24151cc6e7096c8122bf3e3365a /src
parent8b70087fe20c282ee6ee417b126c3f2f822f50a7 (diff)
downloadluaossl-298fa9eb658a25e75d3db936366ede339fa2c8e0.tar.gz
luaossl-298fa9eb658a25e75d3db936366ede339fa2c8e0.tar.bz2
luaossl-298fa9eb658a25e75d3db936366ede339fa2c8e0.zip
src/openssl.c: Expose pkey's __tostring as pkey:tostring()
Closes #119
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c
index a100d79..8187b51 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -4512,6 +4512,7 @@ static const auxL_Reg pk_methods[] = {
{ "verify", &pk_verify },
{ "getDefaultDigestName", &pk_getDefaultDigestName },
{ "toPEM", &pk_toPEM },
+ { "tostring", &pk__tostring },
{ "getParameters", &pk_getParameters },
{ "setParameters", &pk_setParameters },
{ NULL, NULL },