The branch master has been updated via aabd49232025807babe995006a46c4c7815ce868 (commit) from bc2a15cdfb5a5a91b9166371b41b7e0c71e547c6 (commit)
- Log ----------------------------------------------------------------- commit aabd49232025807babe995006a46c4c7815ce868 Author: Dr. Stephen Henson <st...@openssl.org> Date: Sat Sep 12 01:53:52 2015 +0100 Constify ECDSA_METHOD_new. PR#3920. Reviewed-by: Rich Salz <rs...@openssl.org> ----------------------------------------------------------------------- Summary of changes: crypto/ecdsa/ecs_lib.c | 2 +- include/openssl/ecdsa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/ecdsa/ecs_lib.c b/crypto/ecdsa/ecs_lib.c index f3007e5..4e1c63a 100644 --- a/crypto/ecdsa/ecs_lib.c +++ b/crypto/ecdsa/ecs_lib.c @@ -247,7 +247,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; diff --git a/include/openssl/ecdsa.h b/include/openssl/ecdsa.h index f60c229..4a02a01 100644 --- a/include/openssl/ecdsa.h +++ b/include/openssl/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 _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits