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
/
async
/
async_err.c
diff --git
a/crypto/async/async_err.c
b/crypto/async/async_err.c
index 13c41cdd28a23d07ec6d334fb070269ea157e2f9..ae97e965337d89b623c334c634bed8428a88124d 100644
(file)
--- a/
crypto/async/async_err.c
+++ b/
crypto/async/async_err.c
@@
-38,7
+38,7
@@
static ERR_STRING_DATA ASYNC_str_reasons[] = {
#endif
-
void
ERR_load_ASYNC_strings(void)
+
int
ERR_load_ASYNC_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-47,4
+47,5
@@
void ERR_load_ASYNC_strings(void)
ERR_load_strings(0, ASYNC_str_reasons);
}
#endif
+ return 1;
}