somesocks / lua-lockbox

A collection of cryptographic primitives written in pure Lua
MIT License
357 stars 74 forks source link

Function table.maxn has been removed in Lua 5.3 #8

Closed jirutka closed 8 years ago

jirutka commented 8 years ago

http://www.lua.org/manual/5.2/manual.html#8.2:

Function table.maxn is deprecated. Write it in Lua if you really need it.

As you can see here in Travis log, it fails on this when running on Lua 5.3.

somesocks commented 8 years ago

Hmm, I suppose its not needed, but I preferred it over # due to the slightly different meanings. Changed to # and pushed.