diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2022-08-26 10:04:01 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2022-09-30 22:31:30 +0200 |
commit | bd07cc1c7e3ca38689e59868b5945dc223235a49 (patch) | |
tree | 0721df67b3e2038389ea814a4c86c8eaf979c575 /crypto/ec/ec_backend.c | |
parent | 71beab84e6e2c5bda417b309a16c3ec4eee38859 (diff) |
ERR: replace remnant ECerr() and EVPerr() calls in crypto/
except those throwing ERR_R_MALLOC_FAILURE
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/19302)
Diffstat (limited to 'crypto/ec/ec_backend.c')
-rw-r--r-- | crypto/ec/ec_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_backend.c b/crypto/ec/ec_backend.c index 48721369ae..62cc134ffd 100644 --- a/crypto/ec/ec_backend.c +++ b/crypto/ec/ec_backend.c @@ -523,7 +523,7 @@ static int ec_key_point_format_fromdata(EC_KEY *ec, const OSSL_PARAM params[]) p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT); if (p != NULL) { if (!ossl_ec_pt_format_param2id(p, &format)) { - ECerr(0, EC_R_INVALID_FORM); + ERR_raise(ERR_LIB_EC, EC_R_INVALID_FORM); return 0; } EC_KEY_set_conv_form(ec, format); |