summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2016-01-03 11:20:53 +1100
committerdaurnimator <quae@daurnimator.com>2016-01-03 11:39:33 +1100
commit436209e6400764817be4126b35712ba07abe3870 (patch)
tree7efa78c33e8bc1b713c525e29f010f0d80f1616b
parent86a593a0548563d156d7adc55cff179340a811c8 (diff)
downloadluaossl-436209e6400764817be4126b35712ba07abe3870.tar.gz
luaossl-436209e6400764817be4126b35712ba07abe3870.tar.bz2
luaossl-436209e6400764817be4126b35712ba07abe3870.zip
bignum: Use openssl function names
-rw-r--r--src/openssl.c24
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
2002static const luaL_Reg bn_methods[] = { 2002static 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
2017static const luaL_Reg bn_metatable[] = { 2017static const luaL_Reg bn_metatable[] = {