diff options
author | daurnimator <quae@daurnimator.com> | 2016-01-03 11:20:53 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2016-01-03 11:39:33 +1100 |
commit | 436209e6400764817be4126b35712ba07abe3870 (patch) | |
tree | 7efa78c33e8bc1b713c525e29f010f0d80f1616b /src | |
parent | 86a593a0548563d156d7adc55cff179340a811c8 (diff) | |
download | luaossl-436209e6400764817be4126b35712ba07abe3870.tar.gz luaossl-436209e6400764817be4126b35712ba07abe3870.tar.bz2 luaossl-436209e6400764817be4126b35712ba07abe3870.zip |
bignum: Use openssl function names
Diffstat (limited to 'src')
-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: static const luaL_Reg bn_methods[] = { - { "add", &bn__add }, - { "sub", &bn__sub }, - { "mul", &bn__mul }, - { "idiv", &bn__idiv }, - { "mod", &bn__mod }, - { "pow", &bn__pow }, - { "shl", &bn__shl }, - { "shr", &bn__shr }, - { "tobin", &bn_tobin }, - { "todec", &bn_todec }, - { "tohex", &bn_tohex }, - { NULL, NULL }, + { "add", &bn__add }, + { "sub", &bn__sub }, + { "mul", &bn__mul }, + { "idiv", &bn__idiv }, + { "mod", &bn__mod }, + { "exp", &bn__pow }, + { "lshift", &bn__shl }, + { "rshift", &bn__shr }, + { "tobin", &bn_tobin }, + { "todec", &bn_todec }, + { "tohex", &bn_tohex }, + { NULL, NULL }, }; static const luaL_Reg bn_metatable[] = { |