diff options
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/err.c | 1 | ||||
-rw-r--r-- | crypto/err/err.h | 4 | ||||
-rw-r--r-- | crypto/err/openssl.ec | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index 4f7a2ce4ac..2d8b5f62af 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -164,6 +164,7 @@ static ERR_STRING_DATA ERR_str_libraries[]= {ERR_PACK(ERR_LIB_DSO,0,0) ,"DSO support routines"}, {ERR_PACK(ERR_LIB_ENGINE,0,0) ,"engine routines"}, {ERR_PACK(ERR_LIB_OCSP,0,0) ,"OCSP routines"}, +{ERR_PACK(ERR_LIB_EC,0,0) ,"EC routines"}, {0,NULL}, }; diff --git a/crypto/err/err.h b/crypto/err/err.h index 96a91c356b..2ca6b1b9f9 100644 --- a/crypto/err/err.h +++ b/crypto/err/err.h @@ -134,6 +134,7 @@ typedef struct err_state_st #define ERR_LIB_DSO 37 #define ERR_LIB_ENGINE 38 #define ERR_LIB_OCSP 39 +#define ERR_LIB_EC 40 #define ERR_LIB_USER 128 @@ -165,6 +166,7 @@ typedef struct err_state_st #define DSOerr(f,r) ERR_PUT_error(ERR_LIB_DSO,(f),(r),ERR_file_name,__LINE__) #define ENGINEerr(f,r) ERR_PUT_error(ERR_LIB_ENGINE,(f),(r),ERR_file_name,__LINE__) #define OCSPerr(f,r) ERR_PUT_error(ERR_LIB_OCSP,(f),(r),ERR_file_name,__LINE__) +#define ECerr(f,r) ERR_PUT_error(ERR_LIB_EC,(f),(r),ERR_file_name,__LINE__) /* Borland C seems too stupid to be able to shift and do longs in * the pre-processor :-( */ @@ -215,6 +217,8 @@ typedef struct err_state_st #define ERR_R_PKCS12_LIB ERR_LIB_PKCS12 #define ERR_R_DSO_LIB ERR_LIB_DSO #define ERR_R_ENGINE_LIB ERR_LIB_ENGINE +#define ERR_R_OCSP_LIB ERR_LIB_OCSP +#define ERR_R_EC_LIB ERR_LIB_EC /* fatal error */ #define ERR_R_MALLOC_FAILURE (1|ERR_R_FATAL) diff --git a/crypto/err/openssl.ec b/crypto/err/openssl.ec index 717c6eeba1..dd4d832f61 100644 --- a/crypto/err/openssl.ec +++ b/crypto/err/openssl.ec @@ -1,6 +1,7 @@ L ERR NONE NONE L CRYPTO crypto/crypto.h crypto/cpt_err.c L BN crypto/bn/bn.h crypto/bn/bn_err.c +L EC crypto/ec/ec.h crypto/ec/ec_err.c L RSA crypto/rsa/rsa.h crypto/rsa/rsa_err.c L DSA crypto/dsa/dsa.h crypto/dsa/dsa_err.c L DSO crypto/dso/dso.h crypto/dso/dso_err.c |