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
/
bn
/
bn_err.c
diff --git
a/crypto/bn/bn_err.c
b/crypto/bn/bn_err.c
index a71b265de251d9788f37344d13eaa37910bb1baf..5fe9db9ede3e325bf3aa3695126243042482cbcd 100644
(file)
--- a/
crypto/bn/bn_err.c
+++ b/
crypto/bn/bn_err.c
@@
-94,7
+94,7
@@
static ERR_STRING_DATA BN_str_reasons[] = {
#endif
-
void
ERR_load_BN_strings(void)
+
int
ERR_load_BN_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-103,4
+103,5
@@
void ERR_load_BN_strings(void)
ERR_load_strings(0, BN_str_reasons);
}
#endif
+ return 1;
}