summaryrefslogtreecommitdiffstats
path: root/crypto/cmp/cmp_err.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-07-11 14:01:56 -0400
committerRichard Levitte <levitte@openssl.org>2019-07-16 05:26:28 +0200
commitcbfa5b03989ee6b8f5c13c4284d5bae02c562f20 (patch)
tree3310c99c9e47c0fa88a276e789cad33136663185 /crypto/cmp/cmp_err.c
parentaac96e2797c34a6b2a839eb58c30ab3328a0cee8 (diff)
Regenerate mkerr files
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9058)
Diffstat (limited to 'crypto/cmp/cmp_err.c')
-rw-r--r--crypto/cmp/cmp_err.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/crypto/cmp/cmp_err.c b/crypto/cmp/cmp_err.c
index b85b8bac82..77e0aa1b35 100644
--- a/crypto/cmp/cmp_err.c
+++ b/crypto/cmp/cmp_err.c
@@ -13,10 +13,6 @@
#ifndef OPENSSL_NO_ERR
-static const ERR_STRING_DATA CMP_str_functs[] = {
- {0, NULL}
-};
-
static const ERR_STRING_DATA CMP_str_reasons[] = {
{0, NULL}
};
@@ -26,10 +22,8 @@ static const ERR_STRING_DATA CMP_str_reasons[] = {
int ERR_load_CMP_strings(void)
{
#ifndef OPENSSL_NO_ERR
- if (ERR_func_error_string(CMP_str_functs[0].error) == NULL) {
- ERR_load_strings_const(CMP_str_functs);
+ if (ERR_func_error_string(CMP_str_reasons[0].error) == NULL)
ERR_load_strings_const(CMP_str_reasons);
- }
#endif
return 1;
}