[openssl-commits] [openssl] OpenSSL_1_1_1-stable update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Sat Dec 22 23:27:37 UTC 2018

The branch OpenSSL_1_1_1-stable has been updated
       via  92791b972c4a5a9b82386536cdfc039e854daee0 (commit)
      from  7d550561e3f58c1810486d962732e9c3476487e2 (commit)

- Log -----------------------------------------------------------------
commit 92791b972c4a5a9b82386536cdfc039e854daee0
Author: Shreya Bhandare <shreya.bhandare at shorelineiot.com>
Date:   Thu Dec 13 22:59:10 2018 +0530

    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 at openssl.org>
    Reviewed-by: Kurt Roeckx <kurt at roeckx.be>
    Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
    (Merged from https://github.com/openssl/openssl/pull/7892)
    (cherry picked from commit 47ec2367ebf6082abb103e66e609feb5c128d358)


Summary of changes:
 crypto/evp/p_lib.c        | 2 +-
 doc/man3/EVP_SignInit.pod | 2 +-
 include/openssl/evp.h     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c
index 9429be9..148df90 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);
diff --git a/doc/man3/EVP_SignInit.pod b/doc/man3/EVP_SignInit.pod
index 12e67f8..86fec82 100644
--- a/doc/man3/EVP_SignInit.pod
+++ b/doc/man3/EVP_SignInit.pod
@@ -17,7 +17,7 @@ functions
  void EVP_SignInit(EVP_MD_CTX *ctx, const EVP_MD *type);
- int EVP_PKEY_size(EVP_PKEY *pkey);
+ int EVP_PKEY_size(const EVP_PKEY *pkey);
  int EVP_PKEY_security_bits(const EVP_PKEY *pkey);
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index 8c80519..cfc33f6 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -994,7 +994,7 @@ int EVP_PKEY_id(const EVP_PKEY *pkey);
 int EVP_PKEY_base_id(const EVP_PKEY *pkey);
 int EVP_PKEY_bits(const EVP_PKEY *pkey);
 int EVP_PKEY_security_bits(const EVP_PKEY *pkey);
-int EVP_PKEY_size(EVP_PKEY *pkey);
+int EVP_PKEY_size(const EVP_PKEY *pkey);
 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
 int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
 int EVP_PKEY_set_alias_type(EVP_PKEY *pkey, int type);

More information about the openssl-commits mailing list