ERR_REASON
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_ASN1,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_BIO,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_BN,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_BUF,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_CMS,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_CONF,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_CRYPTO,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_DH,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_DSA,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_EC,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_EVP,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_OBJ,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_OCSP,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_PEM,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_PKCS12,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_PKCS7,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_RAND,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_RSA,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_SM2,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_TS,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_UI,0,reason)
#undef ERR_REASON
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_X509V3,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_X509,0,reason)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_SSL,0,reason)