From c9d5c4428f603adb0d74dd9601261c08cec61603 Mon Sep 17 00:00:00 2001 From: William Ahern Date: Mon, 21 Dec 2015 17:44:38 +0800 Subject: for now, don't be so harsh and break any existing code --- src/openssl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 }, -- cgit v1.2.3-59-g8ed1b