aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar William Ahern <william@25thandClement.com> 2015-12-21 17:44:38 +0800
committerLibravatarLibravatar William Ahern <william@25thandClement.com> 2015-12-21 17:44:38 +0800
commitc9d5c4428f603adb0d74dd9601261c08cec61603 (patch)
tree3f170f56591c466909cab4984c264ddd5e1e00a0 /src
parent472e9873ca9929d7811953e8d27e615b19135692 (diff)
downloadluaossl-c9d5c4428f603adb0d74dd9601261c08cec61603.tar.gz
luaossl-c9d5c4428f603adb0d74dd9601261c08cec61603.tar.bz2
luaossl-c9d5c4428f603adb0d74dd9601261c08cec61603.zip
for now, don't be so harsh and break any existing code
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 },