diff options
-rw-r--r-- | lib/libcrypto/cms/cms_err.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcrypto/cms/cms_err.c b/lib/libcrypto/cms/cms_err.c index de7c544a50f..9b2abaa03b1 100644 --- a/lib/libcrypto/cms/cms_err.c +++ b/lib/libcrypto/cms/cms_err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms_err.c,v 1.10 2019/08/10 18:15:52 jsing Exp $ */ +/* $OpenBSD: cms_err.c,v 1.11 2019/08/11 14:18:38 jsing Exp $ */ /* * Generated by util/mkerr.pl DO NOT EDIT * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. @@ -14,7 +14,7 @@ #ifndef OPENSSL_NO_ERR -static const ERR_STRING_DATA CMS_str_functs[] = { +static ERR_STRING_DATA CMS_str_functs[] = { {ERR_PACK(ERR_LIB_CMS, CMS_F_CHECK_CONTENT, 0), "check_content"}, {ERR_PACK(ERR_LIB_CMS, CMS_F_CMS_ADD0_CERT, 0), "CMS_add0_cert"}, {ERR_PACK(ERR_LIB_CMS, CMS_F_CMS_ADD0_RECIPIENT_KEY, 0), @@ -154,7 +154,7 @@ static const ERR_STRING_DATA CMS_str_functs[] = { {0, NULL} }; -static const ERR_STRING_DATA CMS_str_reasons[] = { +static ERR_STRING_DATA CMS_str_reasons[] = { {ERR_PACK(ERR_LIB_CMS, 0, CMS_R_ADD_SIGNER_ERROR), "add signer error"}, {ERR_PACK(ERR_LIB_CMS, 0, CMS_R_CERTIFICATE_ALREADY_PRESENT), "certificate already present"}, @@ -288,8 +288,8 @@ ERR_load_CMS_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_func_error_string(CMS_str_functs[0].error) == NULL) { - ERR_load_strings_const(CMS_str_functs); - ERR_load_strings_const(CMS_str_reasons); + ERR_load_strings(ERR_LIB_CMS, CMS_str_functs); + ERR_load_strings(ERR_LIB_CMS, CMS_str_reasons); } #endif return 1; |