diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-07-12 15:50:06 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-07-20 19:20:53 +0200 |
commit | 69588edbaa424beb71c6a9b1be416588232cb78c (patch) | |
tree | bc2d601241ea428fac0bc35d215b3964f0fce199 /crypto/dsa/dsa_err.c | |
parent | 8cc44d970ced1004db0727d7a7b3e2709c442e55 (diff) |
Check for errors allocating the error strings.
Reviewed-by: Richard Levitte <levitte@openssl.org>
GH: #1330
Diffstat (limited to 'crypto/dsa/dsa_err.c')
-rw-r--r-- | crypto/dsa/dsa_err.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_err.c b/crypto/dsa/dsa_err.c index 028f79f32a..6de49eebbd 100644 --- a/crypto/dsa/dsa_err.c +++ b/crypto/dsa/dsa_err.c @@ -61,7 +61,7 @@ static ERR_STRING_DATA DSA_str_reasons[] = { #endif -void ERR_load_DSA_strings(void) +int ERR_load_DSA_strings(void) { #ifndef OPENSSL_NO_ERR @@ -70,4 +70,5 @@ void ERR_load_DSA_strings(void) ERR_load_strings(0, DSA_str_reasons); } #endif + return 1; } |