[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Dr. Stephen Henson steve at openssl.org
Sat Sep 12 01:48:17 UTC 2015


The branch OpenSSL_1_0_2-stable has been updated
       via  5116aeeacbac3f22792cfa9a370069f00adc2a49 (commit)
      from  2aa5a2c76656f3873fecd0f0bcc628c1861c27a9 (commit)


- Log -----------------------------------------------------------------
commit 5116aeeacbac3f22792cfa9a370069f00adc2a49
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Sat Sep 12 01:53:52 2015 +0100

    Constify ECDSA_METHOD_new.
    
    PR#3920.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (cherry picked from commit aabd49232025807babe995006a46c4c7815ce868)

-----------------------------------------------------------------------

Summary of changes:
 crypto/ecdsa/ecdsa.h   | 2 +-
 crypto/ecdsa/ecs_lib.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/ecdsa/ecdsa.h b/crypto/ecdsa/ecdsa.h
index c4016ac..a6f0930 100644
--- a/crypto/ecdsa/ecdsa.h
+++ b/crypto/ecdsa/ecdsa.h
@@ -233,7 +233,7 @@ void *ECDSA_get_ex_data(EC_KEY *d, int idx);
  *  \return pointer to a ECDSA_METHOD structure or NULL if an error occurred
  */
 
-ECDSA_METHOD *ECDSA_METHOD_new(ECDSA_METHOD *ecdsa_method);
+ECDSA_METHOD *ECDSA_METHOD_new(const ECDSA_METHOD *ecdsa_method);
 
 /** frees a ECDSA_METHOD structure
  *  \param  ecdsa_method  pointer to the ECDSA_METHOD structure
diff --git a/crypto/ecdsa/ecs_lib.c b/crypto/ecdsa/ecs_lib.c
index 1c02310..8dc1dda 100644
--- a/crypto/ecdsa/ecs_lib.c
+++ b/crypto/ecdsa/ecs_lib.c
@@ -276,7 +276,7 @@ void *ECDSA_get_ex_data(EC_KEY *d, int idx)
     return (CRYPTO_get_ex_data(&ecdsa->ex_data, idx));
 }
 
-ECDSA_METHOD *ECDSA_METHOD_new(ECDSA_METHOD *ecdsa_meth)
+ECDSA_METHOD *ECDSA_METHOD_new(const ECDSA_METHOD *ecdsa_meth)
 {
     ECDSA_METHOD *ret;
 


More information about the openssl-commits mailing list