[crypto] fix no-base58

This commit is contained in:
zhaoxiaomeng
2017-07-10 16:35:06 +08:00
parent ffbb0eca67
commit 2ebf8ad9f0
4 changed files with 17 additions and 3 deletions

View File

@@ -73,7 +73,9 @@ static ERR_STRING_DATA ERR_str_libraries[] = {
{ERR_PACK(ERR_LIB_SDF, 0, 0), "SDF routines"},
{ERR_PACK(ERR_LIB_SKF, 0, 0), "SKF routines"},
{ERR_PACK(ERR_LIB_SOF, 0, 0), "SOF routines"},
#ifndef OPENSSL_NO_BASE58
{ERR_PACK(ERR_LIB_BASE58, 0, 0), "BASE58 routines"},
#endif
{0, NULL},
};
@@ -132,8 +134,9 @@ static ERR_STRING_DATA ERR_str_reasons[] = {
{ERR_R_SDF_LIB, "SDF lib"},
{ERR_R_SKF_LIB, "SKF lib"},
{ERR_R_SOF_LIB, "SOF lib"},
#ifndef OPENSSL_NO_BASE58
{ERR_R_BASE58_LIB, "BASE58 lib"},
#endif
{ERR_R_NESTED_ASN1_ERROR, "nested asn1 error"},
{ERR_R_MISSING_ASN1_EOS, "missing asn1 eos"},

View File

@@ -53,7 +53,9 @@
#include <openssl/gmsdf.h>
#include <openssl/gmskf.h>
#include <openssl/gmsof.h>
#ifndef OPENSSL_NO_BASE58
#include <openssl/base58.h>
#endif
int err_load_crypto_strings_int(void)