aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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:
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[] = {