diff options
author | William Ahern <william@server.local> | 2012-10-09 14:59:12 -0700 |
---|---|---|
committer | William Ahern <william@server.local> | 2012-10-09 14:59:12 -0700 |
commit | 59a5e0593bb4611e97dafa685c833153031e891b (patch) | |
tree | f2b51a7bdc4b9ed483cba07d230e524cd189dce0 | |
parent | 1d485825e76be03576fe57d73f4c9b27f0b62af5 (diff) | |
download | luaossl-59a5e0593bb4611e97dafa685c833153031e891b.tar.gz luaossl-59a5e0593bb4611e97dafa685c833153031e891b.tar.bz2 luaossl-59a5e0593bb4611e97dafa685c833153031e891b.zip |
-n
add ipairs metamethod to X.509 chain object
-rw-r--r-- | openssl.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2665,9 +2665,10 @@ static const luaL_Reg xl_methods[] = { }; static const luaL_Reg xl_metatable[] = { - { "__pairs", &xl__pairs }, - { "__gc", &xl__gc }, - { NULL, NULL }, + { "__pairs", &xl__pairs }, + { "__ipairs", &xl__pairs }, + { "__gc", &xl__gc }, + { NULL, NULL }, }; static const luaL_Reg xl_globals[] = { |