diff options
author | daurnimator <quae@daurnimator.com> | 2018-05-28 19:00:12 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-05-28 19:00:24 +1000 |
commit | 90bda23d4930d472b9cbe8c0b41318ef9af57167 (patch) | |
tree | 2e49bbe648d27d048f4bc021b0807edfe4786f73 /src | |
parent | 298fa9eb658a25e75d3db936366ede339fa2c8e0 (diff) | |
download | luaossl-90bda23d4930d472b9cbe8c0b41318ef9af57167.tar.gz luaossl-90bda23d4930d472b9cbe8c0b41318ef9af57167.tar.bz2 luaossl-90bda23d4930d472b9cbe8c0b41318ef9af57167.zip |
src/openssl.c: Reorder pkey methods
Diffstat (limited to 'src')
-rw-r--r-- | src/openssl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openssl.c b/src/openssl.c index 8187b51..72c818a 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -4504,17 +4504,17 @@ static const auxL_Reg pk_methods[] = { { "type", &pk_type }, { "setPublicKey", &pk_setPublicKey }, { "setPrivateKey", &pk_setPrivateKey }, + { "getDefaultDigestName", &pk_getDefaultDigestName }, + { "getParameters", &pk_getParameters }, + { "setParameters", &pk_setParameters }, #if HAVE_EVP_PKEY_CTX_NEW { "decrypt", &pk_decrypt }, { "encrypt", &pk_encrypt }, #endif { "sign", &pk_sign }, - { "verify", &pk_verify }, - { "getDefaultDigestName", &pk_getDefaultDigestName }, { "toPEM", &pk_toPEM }, { "tostring", &pk__tostring }, - { "getParameters", &pk_getParameters }, - { "setParameters", &pk_setParameters }, + { "verify", &pk_verify }, { NULL, NULL }, }; |