diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-03-14 21:46:54 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-23 08:15:55 -0400 |
commit | de7058241083e9ec80c4ad27e7bb4f2bd79e36f2 (patch) | |
tree | f67216837cb5628a7d60190a40939b6667c2a7bd | |
parent | ac722c9af058661671f8e63972eb52e2bf9de378 (diff) |
Fix error code
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r-- | crypto/ex_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ex_data.c b/crypto/ex_data.c index 3088889ffe..6984a1fb2e 100644 --- a/crypto/ex_data.c +++ b/crypto/ex_data.c @@ -153,7 +153,7 @@ static EX_CALLBACKS *get_and_lock(int class_index) EX_CALLBACKS *ip; if (class_index < 0 || class_index >= CRYPTO_EX_INDEX__COUNT) { - CRYPTOerr(CRYPTO_F_GET_AND_LOCK, ERR_R_MALLOC_FAILURE); + CRYPTOerr(CRYPTO_F_GET_AND_LOCK, ERR_R_PASSED_INVALID_ARGUMENT); return NULL; } |