summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-12-21 01:12:29 +0000
committerRichard Levitte <levitte@openssl.org>2001-12-21 01:12:29 +0000
commita92ae0709112a6ee583e26e4fb9cb388d74dc8be (patch)
tree31875965d8f9dc0b6e708b25ec7ad8cb63b898c2 /crypto/err
parent68809d3969e845c5219dc9e9448661d9e1d86350 (diff)
And just for the sake of completeness, let's add some standard macros...
Diffstat (limited to 'crypto/err')
-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 2b3c80f5ff..c20546be51 100644
--- a/crypto/err/err.h
+++ b/crypto/err/err.h
@@ -158,6 +158,7 @@ typedef struct err_state_st
#define ENGINEerr(f,r) ERR_PUT_error(ERR_LIB_ENGINE,(f),(r),__FILE__,__LINE__)
#define OCSPerr(f,r) ERR_PUT_error(ERR_LIB_OCSP,(f),(r),__FILE__,__LINE__)
#define UIerr(f,r) ERR_PUT_error(ERR_LIB_UI,(f),(r),__FILE__,__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 :-( */
@@ -208,6 +209,7 @@ typedef struct err_state_st
#define ERR_R_ENGINE_LIB ERR_LIB_ENGINE /* 38 */
#define ERR_R_OCSP_LIB ERR_LIB_OCSP /* 39 */
#define ERR_R_UI_LIB ERR_LIB_UI /* 40 */
+#define ERR_R_COMP_LIB ERR_LIB_COMP /* 41 */
#define ERR_R_NESTED_ASN1_ERROR 58
#define ERR_R_BAD_ASN1_OBJECT_HEADER 59