From 49cdb86019dca5fb28d05b490e9721dea67731e4 Mon Sep 17 00:00:00 2001 From: William Ahern Date: Thu, 11 Oct 2012 20:53:20 -0700 Subject: -n document new openssl bindings --- openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl.c b/openssl.c index 4ab0688..2dd5844 100644 --- a/openssl.c +++ b/openssl.c @@ -1642,7 +1642,7 @@ error: static int xc_digest(lua_State *L) { X509 *crt = checksimple(L, 1, X509_CERT_CLASS); const char *type = luaL_optstring(L, 2, "sha1"); - int format = luaL_checkoption(L, 3, "*s", (const char *[]){ "*s", "*x", "*n", NULL }); + int format = luaL_checkoption(L, 3, "x", (const char *[]){ "s", "x", "n", NULL }); const EVP_MD *ctx; unsigned char md[EVP_MAX_MD_SIZE]; unsigned len; -- cgit v1.2.3-55-g6feb