Constify ECDSA_METHOD_new.
PR#3920. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
bc2a15cdfb
commit
aabd492320
@ -247,7 +247,7 @@ void *ECDSA_get_ex_data(EC_KEY *d, int idx)
|
|||||||
return (CRYPTO_get_ex_data(&ecdsa->ex_data, 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;
|
ECDSA_METHOD *ret;
|
||||||
|
|
||||||
|
@ -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
|
* \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
|
/** frees a ECDSA_METHOD structure
|
||||||
* \param ecdsa_method pointer to the ECDSA_METHOD structure
|
* \param ecdsa_method pointer to the ECDSA_METHOD structure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user