projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check for errors allocating the error strings.
[openssl.git]
/
crypto
/
comp
/
comp_err.c
diff --git
a/crypto/comp/comp_err.c
b/crypto/comp/comp_err.c
index 0233e940f637b390630dd0c1c45d161ab0ddcf1b..8e2e69568def55e8b3bbd545014bd48c578c300a 100644
(file)
--- a/
crypto/comp/comp_err.c
+++ b/
crypto/comp/comp_err.c
@@
-35,7
+35,7
@@
static ERR_STRING_DATA COMP_str_reasons[] = {
#endif
-
void
ERR_load_COMP_strings(void)
+
int
ERR_load_COMP_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-44,4
+44,5
@@
void ERR_load_COMP_strings(void)
ERR_load_strings(0, COMP_str_reasons);
}
#endif
+ return 1;
}