diff options
Diffstat (limited to 'src/lib/libcrypto/err')
-rw-r--r-- | src/lib/libcrypto/err/err.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index 22cdb2987f..20fa9084a6 100644 --- a/src/lib/libcrypto/err/err.h +++ b/src/lib/libcrypto/err/err.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: err.h,v 1.25 2017/02/20 23:21:19 beck Exp $ */ | 1 | /* $OpenBSD: err.h,v 1.26 2021/11/24 01:12:43 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -196,6 +196,7 @@ typedef struct err_state_st { | |||
196 | #define ERR_LIB_HMAC 48 | 196 | #define ERR_LIB_HMAC 48 |
197 | #define ERR_LIB_JPAKE 49 | 197 | #define ERR_LIB_JPAKE 49 |
198 | #define ERR_LIB_GOST 50 | 198 | #define ERR_LIB_GOST 50 |
199 | #define ERR_LIB_CT 51 | ||
199 | 200 | ||
200 | #define ERR_LIB_USER 128 | 201 | #define ERR_LIB_USER 128 |
201 | 202 | ||
@@ -234,6 +235,7 @@ typedef struct err_state_st { | |||
234 | #define JPAKEerr(f,r) ERR_PUT_error(ERR_LIB_JPAKE,(f),(r),__FILE__,__LINE__) | 235 | #define JPAKEerr(f,r) ERR_PUT_error(ERR_LIB_JPAKE,(f),(r),__FILE__,__LINE__) |
235 | #define GOSTerr(f,r) ERR_PUT_error(ERR_LIB_GOST,(f),(r),__FILE__,__LINE__) | 236 | #define GOSTerr(f,r) ERR_PUT_error(ERR_LIB_GOST,(f),(r),__FILE__,__LINE__) |
236 | #define SSLerr(f,r) ERR_PUT_error(ERR_LIB_SSL,(f),(r),__FILE__,__LINE__) | 237 | #define SSLerr(f,r) ERR_PUT_error(ERR_LIB_SSL,(f),(r),__FILE__,__LINE__) |
238 | #define CTerr(f, r) ERR_PUT_error(ERR_LIB_CT,(f),(r),__FILE__,__LINE__) | ||
237 | #endif | 239 | #endif |
238 | 240 | ||
239 | #ifdef LIBRESSL_INTERNAL | 241 | #ifdef LIBRESSL_INTERNAL |
@@ -270,6 +272,7 @@ typedef struct err_state_st { | |||
270 | #define HMACerror(r) ERR_PUT_error(ERR_LIB_HMAC,(0xfff),(r),__FILE__,__LINE__) | 272 | #define HMACerror(r) ERR_PUT_error(ERR_LIB_HMAC,(0xfff),(r),__FILE__,__LINE__) |
271 | #define JPAKEerror(r) ERR_PUT_error(ERR_LIB_JPAKE,(0xfff),(r),__FILE__,__LINE__) | 273 | #define JPAKEerror(r) ERR_PUT_error(ERR_LIB_JPAKE,(0xfff),(r),__FILE__,__LINE__) |
272 | #define GOSTerror(r) ERR_PUT_error(ERR_LIB_GOST,(0xfff),(r),__FILE__,__LINE__) | 274 | #define GOSTerror(r) ERR_PUT_error(ERR_LIB_GOST,(0xfff),(r),__FILE__,__LINE__) |
275 | #define CTerror(r) ERR_PUT_error(ERR_LIB_CT,(0xfff),(r),__FILE__,__LINE__) | ||
273 | #endif | 276 | #endif |
274 | 277 | ||
275 | #define ERR_PACK(l,f,r) (((((unsigned long)l)&0xffL)<<24L)| \ | 278 | #define ERR_PACK(l,f,r) (((((unsigned long)l)&0xffL)<<24L)| \ |