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
/
x509
/
x509_err.c
diff --git
a/crypto/x509/x509_err.c
b/crypto/x509/x509_err.c
index 13f5a24f8759cb1cca710de5ceee1b72ce3116c2..3f4b8ef0bc7af1bdaefe1edea41f0f5a5884cb05 100644
(file)
--- a/
crypto/x509/x509_err.c
+++ b/
crypto/x509/x509_err.c
@@
-129,7
+129,7
@@
static ERR_STRING_DATA X509_str_reasons[] = {
#endif
-
void
ERR_load_X509_strings(void)
+
int
ERR_load_X509_strings(void)
{
#ifndef OPENSSL_NO_ERR
@@
-138,4
+138,5
@@
void ERR_load_X509_strings(void)
ERR_load_strings(0, X509_str_reasons);
}
#endif
+ return 1;
}