diff options
author | William Ahern <william@server.local> | 2012-10-11 20:53:20 -0700 |
---|---|---|
committer | William Ahern <william@server.local> | 2012-10-11 20:53:20 -0700 |
commit | 49cdb86019dca5fb28d05b490e9721dea67731e4 (patch) | |
tree | 67ff102ac0556a399031f46016462fc297e45adf | |
parent | 4559433301a2234dc08c5b8b1e6d90542eaba913 (diff) | |
download | luaossl-49cdb86019dca5fb28d05b490e9721dea67731e4.tar.gz luaossl-49cdb86019dca5fb28d05b490e9721dea67731e4.tar.bz2 luaossl-49cdb86019dca5fb28d05b490e9721dea67731e4.zip |
-n
document new openssl bindings
-rw-r--r-- | openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1642,7 +1642,7 @@ error: | |||
1642 | static int xc_digest(lua_State *L) { | 1642 | static int xc_digest(lua_State *L) { |
1643 | X509 *crt = checksimple(L, 1, X509_CERT_CLASS); | 1643 | X509 *crt = checksimple(L, 1, X509_CERT_CLASS); |
1644 | const char *type = luaL_optstring(L, 2, "sha1"); | 1644 | const char *type = luaL_optstring(L, 2, "sha1"); |
1645 | int format = luaL_checkoption(L, 3, "*s", (const char *[]){ "*s", "*x", "*n", NULL }); | 1645 | int format = luaL_checkoption(L, 3, "x", (const char *[]){ "s", "x", "n", NULL }); |
1646 | const EVP_MD *ctx; | 1646 | const EVP_MD *ctx; |
1647 | unsigned char md[EVP_MAX_MD_SIZE]; | 1647 | unsigned char md[EVP_MAX_MD_SIZE]; |
1648 | unsigned len; | 1648 | unsigned len; |