Constify ECDSA_METHOD_new.
PR#3920. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
bc2a15cdfb
commit
aabd492320
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue