diff options
author | beck <> | 2021-11-24 01:12:43 +0000 |
---|---|---|
committer | beck <> | 2021-11-24 01:12:43 +0000 |
commit | 762fac1fce36c5a65717448f5452ff0495f51406 (patch) | |
tree | 174f53778a84b28475ebc2d99f4725e02e588530 /src/lib/libcrypto/err | |
parent | 95e85ad8068be763e1ad04553b0d531f60507951 (diff) | |
download | openbsd-762fac1fce36c5a65717448f5452ff0495f51406.tar.gz openbsd-762fac1fce36c5a65717448f5452ff0495f51406.tar.bz2 openbsd-762fac1fce36c5a65717448f5452ff0495f51406.zip |
Make the certificate transparency code build with the rest of the library
Do not expose it yet, this will wait for an upcoming bump
ok tb@
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)| \ |