summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/err/err.h')
-rw-r--r--src/lib/libcrypto/err/err.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h
index ced340ea80..87bb96eec7 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.21 2014/07/11 09:25:24 jsing Exp $ */ 1/* $OpenBSD: err.h,v 1.22 2014/11/09 19:17:13 miod 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 *
@@ -195,6 +195,7 @@ typedef struct err_state_st {
195#define ERR_LIB_TS 47 195#define ERR_LIB_TS 47
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 199
199#define ERR_LIB_USER 128 200#define ERR_LIB_USER 128
200 201
@@ -231,6 +232,7 @@ typedef struct err_state_st {
231#define TSerr(f,r) ERR_PUT_error(ERR_LIB_TS,(f),(r),__FILE__,__LINE__) 232#define TSerr(f,r) ERR_PUT_error(ERR_LIB_TS,(f),(r),__FILE__,__LINE__)
232#define HMACerr(f,r) ERR_PUT_error(ERR_LIB_HMAC,(f),(r),__FILE__,__LINE__) 233#define HMACerr(f,r) ERR_PUT_error(ERR_LIB_HMAC,(f),(r),__FILE__,__LINE__)
233#define JPAKEerr(f,r) ERR_PUT_error(ERR_LIB_JPAKE,(f),(r),__FILE__,__LINE__) 234#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__)
234 236
235#define ERR_PACK(l,f,r) (((((unsigned long)l)&0xffL)<<24L)| \ 237#define ERR_PACK(l,f,r) (((((unsigned long)l)&0xffL)<<24L)| \
236 ((((unsigned long)f)&0xfffL)<<12L)| \ 238 ((((unsigned long)f)&0xfffL)<<12L)| \