diff options
Diffstat (limited to 'src/lib/libcrypto/err/err.h')
-rw-r--r-- | src/lib/libcrypto/err/err.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index 8d9f0da172..dcac415231 100644 --- a/src/lib/libcrypto/err/err.h +++ b/src/lib/libcrypto/err/err.h | |||
@@ -142,6 +142,7 @@ typedef struct err_state_st | |||
142 | #define ERR_LIB_STORE 44 | 142 | #define ERR_LIB_STORE 44 |
143 | #define ERR_LIB_FIPS 45 | 143 | #define ERR_LIB_FIPS 45 |
144 | #define ERR_LIB_CMS 46 | 144 | #define ERR_LIB_CMS 46 |
145 | #define ERR_LIB_JPAKE 47 | ||
145 | 146 | ||
146 | #define ERR_LIB_USER 128 | 147 | #define ERR_LIB_USER 128 |
147 | 148 | ||
@@ -175,6 +176,7 @@ typedef struct err_state_st | |||
175 | #define STOREerr(f,r) ERR_PUT_error(ERR_LIB_STORE,(f),(r),__FILE__,__LINE__) | 176 | #define STOREerr(f,r) ERR_PUT_error(ERR_LIB_STORE,(f),(r),__FILE__,__LINE__) |
176 | #define FIPSerr(f,r) ERR_PUT_error(ERR_LIB_FIPS,(f),(r),__FILE__,__LINE__) | 177 | #define FIPSerr(f,r) ERR_PUT_error(ERR_LIB_FIPS,(f),(r),__FILE__,__LINE__) |
177 | #define CMSerr(f,r) ERR_PUT_error(ERR_LIB_CMS,(f),(r),__FILE__,__LINE__) | 178 | #define CMSerr(f,r) ERR_PUT_error(ERR_LIB_CMS,(f),(r),__FILE__,__LINE__) |
179 | #define JPAKEerr(f,r) ERR_PUT_error(ERR_LIB_JPAKE,(f),(r),__FILE__,__LINE__) | ||
178 | 180 | ||
179 | /* Borland C seems too stupid to be able to shift and do longs in | 181 | /* Borland C seems too stupid to be able to shift and do longs in |
180 | * the pre-processor :-( */ | 182 | * the pre-processor :-( */ |
@@ -306,6 +308,12 @@ int ERR_get_next_error_library(void); | |||
306 | int ERR_set_mark(void); | 308 | int ERR_set_mark(void); |
307 | int ERR_pop_to_mark(void); | 309 | int ERR_pop_to_mark(void); |
308 | 310 | ||
311 | #ifdef OPENSSL_FIPS | ||
312 | void int_ERR_set_state_func(ERR_STATE *(*get_func)(void), | ||
313 | void (*remove_func)(unsigned long pid)); | ||
314 | void int_ERR_lib_init(void); | ||
315 | #endif | ||
316 | |||
309 | /* Already defined in ossl_typ.h */ | 317 | /* Already defined in ossl_typ.h */ |
310 | /* typedef struct st_ERR_FNS ERR_FNS; */ | 318 | /* typedef struct st_ERR_FNS ERR_FNS; */ |
311 | /* An application can use this function and provide the return value to loaded | 319 | /* An application can use this function and provide the return value to loaded |