From 90bda23d4930d472b9cbe8c0b41318ef9af57167 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 28 May 2018 19:00:12 +1000 Subject: src/openssl.c: Reorder pkey methods --- src/openssl.c | 8 ++++---- 1 file 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 }, }; -- cgit v1.2.3-59-g8ed1b