diff options
author | Shreya Bhandare <shreya.bhandare@shorelineiot.com> | 2018-12-13 22:59:10 +0530 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-12-23 00:27:23 +0100 |
commit | 92791b972c4a5a9b82386536cdfc039e854daee0 (patch) | |
tree | 3de1a5e551fa6cdc3e29bb28233bd391b0ae7976 /crypto/evp/p_lib.c | |
parent | 7d550561e3f58c1810486d962732e9c3476487e2 (diff) |
EVP_PKEY_size declared to take a const parameter
CLA: trivial
Function EVP_PKEY_size has been modified to take a const parameter
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7892)
(cherry picked from commit 47ec2367ebf6082abb103e66e609feb5c128d358)
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r-- | crypto/evp/p_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 9429be97e3..148df90f84 100644 --- a/crypto/evp/p_lib.c +++ b/crypto/evp/p_lib.c @@ -42,7 +42,7 @@ int EVP_PKEY_security_bits(const EVP_PKEY *pkey) return pkey->ameth->pkey_security_bits(pkey); } -int EVP_PKEY_size(EVP_PKEY *pkey) +int EVP_PKEY_size(const EVP_PKEY *pkey) { if (pkey && pkey->ameth && pkey->ameth->pkey_size) return pkey->ameth->pkey_size(pkey); |