projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix error code
[openssl.git]
/
crypto
/
ex_data.c
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;
}