aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2016-04-22 12:21:51 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2016-04-22 12:21:51 +1000
commit23dd3a210368ed4ab6923f362e4f9de1f3ebb2a3 (patch)
tree5d681946b341b6b20187fcd4c889a54f01f4aa08 /src
parenta6dbeef90074ac573145bdff498c1fb2298c6213 (diff)
downloadluaossl-23dd3a210368ed4ab6923f362e4f9de1f3ebb2a3.tar.gz
luaossl-23dd3a210368ed4ab6923f362e4f9de1f3ebb2a3.tar.bz2
luaossl-23dd3a210368ed4ab6923f362e4f9de1f3ebb2a3.zip
Keep old deprecated names 'tobin', 'todec', 'tohex'
Turns out they were in release 20151221
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 107ec23..2275d49 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -2281,6 +2281,10 @@ static const auxL_Reg bn_methods[] = {
{ "toBinary", &bn_toBinary },
{ "toDecimal", &bn_toDecimal },
{ "toHex", &bn_toHex },
+ /* deprecated */
+ { "tobin", &bn_toBinary },
+ { "todec", &bn_toDecimal },
+ { "tohex", &bn_toHex },
{ NULL, NULL },
};