aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c
index f03c129..499bcce 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -2018,6 +2018,7 @@ static const luaL_Reg bn_metatable[] = {
{ "__add", &bn__add },
{ "__sub", &bn__sub },
{ "__mul", &bn__mul },
+ { "__div", &bn__idiv },
{ "__idiv", &bn__idiv },
{ "__mod", &bn__mod },
{ "__pow", &bn__pow },