mirror of
https://github.com/brunoos/luasec.git
synced 2024-12-27 04:58:20 +01:00
Merge pull request #176 from linusg/fix-method-name
Fix meth_get_{sinagure => signature}_name function name
This commit is contained in:
commit
eedebb2477
@ -658,7 +658,7 @@ static int meth_set_encode(lua_State* L)
|
||||
/**
|
||||
* Get signature name.
|
||||
*/
|
||||
static int meth_get_sinagure_name(lua_State* L)
|
||||
static int meth_get_signature_name(lua_State* L)
|
||||
{
|
||||
p_x509 px = lsec_checkp_x509(L, 1);
|
||||
int nid = X509_get_signature_nid(px->cert);
|
||||
@ -698,7 +698,7 @@ static luaL_Reg methods[] = {
|
||||
{"digest", meth_digest},
|
||||
{"setencode", meth_set_encode},
|
||||
{"extensions", meth_extensions},
|
||||
{"getsignaturename", meth_get_sinagure_name},
|
||||
{"getsignaturename", meth_get_signature_name},
|
||||
{"issuer", meth_issuer},
|
||||
{"notbefore", meth_notbefore},
|
||||
{"notafter", meth_notafter},
|
||||
|
Loading…
Reference in New Issue
Block a user