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
/
ocsp
/
ocsp_err.c
diff --git
a/crypto/ocsp/ocsp_err.c
b/crypto/ocsp/ocsp_err.c
index 59bcf85cd08749eec3a9e67e5aa11b4d97a3fe41..a2d96e9c9f5b4f2939f2a3dda87397a2cd167519 100644
(file)
--- a/
crypto/ocsp/ocsp_err.c
+++ b/
crypto/ocsp/ocsp_err.c
@@
-78,7
+78,7
@@
static ERR_STRING_DATA OCSP_str_reasons[] = {
#endif
-
void
ERR_load_OCSP_strings(void)
+
int
ERR_load_OCSP_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-87,4
+87,5
@@
void ERR_load_OCSP_strings(void)
ERR_load_strings(0, OCSP_str_reasons);
}
#endif
+ return 1;
}