]> granicus.if.org Git - openssl/commitdiff
And just for the sake of completeness, let's add some standard macros...
authorRichard Levitte <levitte@openssl.org>
Fri, 21 Dec 2001 01:13:01 +0000 (01:13 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 21 Dec 2001 01:13:01 +0000 (01:13 +0000)
crypto/err/err.h

index f13d1df78027b537dc0705ecc3c10c97f513983b..cd1d8a60053b445c8f900657e49c88daaf4fe08b 100644 (file)
@@ -164,6 +164,7 @@ typedef struct err_state_st
 #define RANDerr(f,r) ERR_PUT_error(ERR_LIB_RAND,(f),(r),ERR_file_name,__LINE__)
 #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 COMPerr(f,r) ERR_PUT_error(ERR_LIB_COMP,(f),(r),ERR_file_name,__LINE__)
 
 /* Borland C seems too stupid to be able to shift and do longs in
  * the pre-processor :-( */
@@ -214,6 +215,7 @@ 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_COMP_LIB ERR_LIB_COMP
 
 /* fatal error */
 #define        ERR_R_MALLOC_FAILURE                    (1|ERR_R_FATAL)