diff options
-rw-r--r-- | src/openssl.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/openssl.c b/src/openssl.c index 499bcce..991cba5 100644 --- a/src/openssl.c +++ b/src/openssl.c | |||
@@ -2000,18 +2000,18 @@ sslerr: | |||
2000 | 2000 | ||
2001 | 2001 | ||
2002 | static const luaL_Reg bn_methods[] = { | 2002 | static const luaL_Reg bn_methods[] = { |
2003 | { "add", &bn__add }, | 2003 | { "add", &bn__add }, |
2004 | { "sub", &bn__sub }, | 2004 | { "sub", &bn__sub }, |
2005 | { "mul", &bn__mul }, | 2005 | { "mul", &bn__mul }, |
2006 | { "idiv", &bn__idiv }, | 2006 | { "idiv", &bn__idiv }, |
2007 | { "mod", &bn__mod }, | 2007 | { "mod", &bn__mod }, |
2008 | { "pow", &bn__pow }, | 2008 | { "exp", &bn__pow }, |
2009 | { "shl", &bn__shl }, | 2009 | { "lshift", &bn__shl }, |
2010 | { "shr", &bn__shr }, | 2010 | { "rshift", &bn__shr }, |
2011 | { "tobin", &bn_tobin }, | 2011 | { "tobin", &bn_tobin }, |
2012 | { "todec", &bn_todec }, | 2012 | { "todec", &bn_todec }, |
2013 | { "tohex", &bn_tohex }, | 2013 | { "tohex", &bn_tohex }, |
2014 | { NULL, NULL }, | 2014 | { NULL, NULL }, |
2015 | }; | 2015 | }; |
2016 | 2016 | ||
2017 | static const luaL_Reg bn_metatable[] = { | 2017 | static const luaL_Reg bn_metatable[] = { |