projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac722c9
)
Fix error code
author
FdaSilvaYY
<fdasilvayy@gmail.com>
Mon, 14 Mar 2016 20:46:54 +0000
(21:46 +0100)
committer
Rich Salz
<rsalz@openssl.org>
Wed, 23 Mar 2016 12:15:55 +0000
(08:15 -0400)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/ex_data.c
patch
|
blob
|
history
diff --git
a/crypto/ex_data.c
b/crypto/ex_data.c
index 3088889ffe3c97b600f0ea1e876704f2931f6769..6984a1fb2ef232aba3c71a63d56711087b6c815a 100644
(file)
--- 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;
}