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[] = { | |||
| 2665 | }; | 2665 | }; |
| 2666 | 2666 | ||
| 2667 | static const luaL_Reg xl_metatable[] = { | 2667 | static const luaL_Reg xl_metatable[] = { |
| 2668 | { "__pairs", &xl__pairs }, | 2668 | { "__pairs", &xl__pairs }, |
| 2669 | { "__gc", &xl__gc }, | 2669 | { "__ipairs", &xl__pairs }, |
| 2670 | { NULL, NULL }, | 2670 | { "__gc", &xl__gc }, |
| 2671 | { NULL, NULL }, | ||
| 2671 | }; | 2672 | }; |
| 2672 | 2673 | ||
| 2673 | static const luaL_Reg xl_globals[] = { | 2674 | static const luaL_Reg xl_globals[] = { |
