summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-12-21 01:12:43 +0000
committerRichard Levitte <levitte@openssl.org>2001-12-21 01:12:43 +0000
commit988988807fb24ac65102f67107984402335c74e2 (patch)
treeebedd7b30553c4c75691c0db1200129a7c610334
parentb1b62e7976dc3de80e5759dfb572fa4a57e4f7a5 (diff)
downloadopenssl-new-988988807fb24ac65102f67107984402335c74e2.tar.gz
And just for the sake of completeness, let's add some standard macros...
-rw-r--r--crypto/err/err.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/err/err.h b/crypto/err/err.h
index ef5145f915..af6c4d4e99 100644
--- a/crypto/err/err.h
+++ b/crypto/err/err.h
@@ -162,6 +162,7 @@ typedef struct err_state_st
#define PKCS12err(f,r) ERR_PUT_error(ERR_LIB_PKCS12,(f),(r),ERR_file_name,__LINE__)
#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 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 :-( */
@@ -211,6 +212,7 @@ typedef struct err_state_st
#define ERR_R_PKCS7_LIB ERR_LIB_PKCS7
#define ERR_R_PKCS12_LIB ERR_LIB_PKCS12
#define ERR_R_DSO_LIB ERR_LIB_DSO
+#define ERR_R_COMP_LIB ERR_LIB_COMP
/* fatal error */
#define ERR_R_MALLOC_FAILURE (1|ERR_R_FATAL)