summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/err')
-rw-r--r--src/lib/libcrypto/err/err.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h
index 20fa9084a6..f792a6db23 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.26 2021/11/24 01:12:43 beck Exp $ */ 1/* $OpenBSD: err.h,v 1.27 2022/05/05 08:48:05 tb 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 *
@@ -197,6 +197,7 @@ typedef struct err_state_st {
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#define ERR_LIB_CT 51
200#define ERR_LIB_KDF 52
200 201
201#define ERR_LIB_USER 128 202#define ERR_LIB_USER 128
202 203
@@ -236,6 +237,7 @@ typedef struct err_state_st {
236#define GOSTerr(f,r) ERR_PUT_error(ERR_LIB_GOST,(f),(r),__FILE__,__LINE__) 237#define GOSTerr(f,r) ERR_PUT_error(ERR_LIB_GOST,(f),(r),__FILE__,__LINE__)
237#define SSLerr(f,r) ERR_PUT_error(ERR_LIB_SSL,(f),(r),__FILE__,__LINE__) 238#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__) 239#define CTerr(f, r) ERR_PUT_error(ERR_LIB_CT,(f),(r),__FILE__,__LINE__)
240#define KDFerr(f, r) ERR_PUT_error(ERR_LIB_KDF,(f),(r),__FILE__,__LINE__)
239#endif 241#endif
240 242
241#ifdef LIBRESSL_INTERNAL 243#ifdef LIBRESSL_INTERNAL
@@ -273,6 +275,7 @@ typedef struct err_state_st {
273#define JPAKEerror(r) ERR_PUT_error(ERR_LIB_JPAKE,(0xfff),(r),__FILE__,__LINE__) 275#define JPAKEerror(r) ERR_PUT_error(ERR_LIB_JPAKE,(0xfff),(r),__FILE__,__LINE__)
274#define GOSTerror(r) ERR_PUT_error(ERR_LIB_GOST,(0xfff),(r),__FILE__,__LINE__) 276#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__) 277#define CTerror(r) ERR_PUT_error(ERR_LIB_CT,(0xfff),(r),__FILE__,__LINE__)
278#define KDFerror(r) ERR_PUT_error(ERR_LIB_KDF,(0xfff),(r),__FILE__,__LINE__)
276#endif 279#endif
277 280
278#define ERR_PACK(l,f,r) (((((unsigned long)l)&0xffL)<<24L)| \ 281#define ERR_PACK(l,f,r) (((((unsigned long)l)&0xffL)<<24L)| \