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
/
rsa
/
rsa_err.c
diff --git
a/crypto/rsa/rsa_err.c
b/crypto/rsa/rsa_err.c
index 0bde0455832b784a646010844feb0bcc1ebe4ee5..210709e5c97502527deb8efa945fec5333b31890 100644
(file)
--- a/
crypto/rsa/rsa_err.c
+++ b/
crypto/rsa/rsa_err.c
@@
-170,7
+170,7
@@
static ERR_STRING_DATA RSA_str_reasons[] = {
#endif
-
void
ERR_load_RSA_strings(void)
+
int
ERR_load_RSA_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-179,4
+179,5
@@
void ERR_load_RSA_strings(void)
ERR_load_strings(0, RSA_str_reasons);
}
#endif
+ return 1;
}