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
/
ui
/
ui_err.c
diff --git
a/crypto/ui/ui_err.c
b/crypto/ui/ui_err.c
index 03cd2bc554e7c48579f41f94e50ce126826e4b80..ef03815ea2d8a6c89d38292efbbde4824013a32a 100644
(file)
--- a/
crypto/ui/ui_err.c
+++ b/
crypto/ui/ui_err.c
@@
-48,7
+48,7
@@
static ERR_STRING_DATA UI_str_reasons[] = {
#endif
-
void
ERR_load_UI_strings(void)
+
int
ERR_load_UI_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-57,4
+57,5
@@
void ERR_load_UI_strings(void)
ERR_load_strings(0, UI_str_reasons);
}
#endif
+ return 1;
}