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
/
dh
/
dh_err.c
diff --git
a/crypto/dh/dh_err.c
b/crypto/dh/dh_err.c
index a5348b1aabdd84c6daa7d81817ee89a82e35707f..4e21f284bd312ab08ce76e125fea9b87a9cda9dd 100644
(file)
--- a/
crypto/dh/dh_err.c
+++ b/
crypto/dh/dh_err.c
@@
-60,7
+60,7
@@
static ERR_STRING_DATA DH_str_reasons[] = {
#endif
-
void
ERR_load_DH_strings(void)
+
int
ERR_load_DH_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-69,4
+69,5
@@
void ERR_load_DH_strings(void)
ERR_load_strings(0, DH_str_reasons);
}
#endif
+ return 1;
}