diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-07-17 16:33:31 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-07-17 16:33:31 +0000 |
commit | 5c95c2ac23dd30f3c458e2738598383d2ca58181 (patch) | |
tree | 181e8b7d0663eeed579bbe7f97760f0ddad52157 /crypto/ec/ec_ameth.c | |
parent | 454dbbc593cd8d9ddd7969e94c6118fc64c57f7b (diff) |
Fix various error codes to match functions.
Diffstat (limited to 'crypto/ec/ec_ameth.c')
-rw-r--r-- | crypto/ec/ec_ameth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_ameth.c b/crypto/ec/ec_ameth.c index ba611646fd..e52a347c86 100644 --- a/crypto/ec/ec_ameth.c +++ b/crypto/ec/ec_ameth.c @@ -503,7 +503,7 @@ static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, int ktype) ret=1; err: if (!ret) - ECerr(EC_F_EC_KEY_PRINT, reason); + ECerr(EC_F_DO_EC_KEY_PRINT, reason); if (pub_key) BN_free(pub_key); if (order) @@ -558,7 +558,7 @@ static int old_ec_priv_decode(EVP_PKEY *pkey, EC_KEY *ec; if (!(ec = d2i_ECPrivateKey (NULL, pder, derlen))) { - ECerr(EC_F_ECKEY_PRIV_DECODE, EC_R_DECODE_ERROR); + ECerr(EC_F_OLD_EC_PRIV_DECODE, EC_R_DECODE_ERROR); return 0; } EVP_PKEY_assign_EC_KEY(pkey, ec); |