From ad5867b4c5c85ac4ade3cd2d4884ade0e1fae5a5 Mon Sep 17 00:00:00 2001 From: william Date: Mon, 12 May 2014 20:40:57 -0700 Subject: hookup explicit tostring methods for CRT and CSR objects (still need to refactor PKey to allow specifying public, private or both) --- src/openssl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/openssl.c b/src/openssl.c index d5c0122..c589d6c 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -2655,6 +2655,7 @@ static const luaL_Reg xc_methods[] = { { "getPublicKey", &xc_getPublicKey }, { "setPublicKey", &xc_setPublicKey }, { "sign", &xc_sign }, + { "tostring", &xc__tostring }, { NULL, NULL }, }; @@ -2860,6 +2861,7 @@ static const luaL_Reg xr_methods[] = { { "getPublicKey", &xr_getPublicKey }, { "setPublicKey", &xr_setPublicKey }, { "sign", &xr_sign }, + { "tostring", &xr__tostring }, { NULL, NULL }, }; -- cgit v1.2.3-59-g8ed1b