summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err.h
diff options
context:
space:
mode:
authorbeck <>2000-03-19 11:13:58 +0000
committerbeck <>2000-03-19 11:13:58 +0000
commit796d609550df3a33fc11468741c5d2f6d3df4c11 (patch)
tree6c6d539061caa20372dad0ac4ddb1dfae2fbe7fe /src/lib/libcrypto/err/err.h
parent5be3114c1fd7e0dfea1e38d3abb4cbba75244419 (diff)
downloadopenbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.gz
openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.bz2
openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.zip
OpenSSL 0.9.5 merge
*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
Diffstat (limited to 'src/lib/libcrypto/err/err.h')
-rw-r--r--src/lib/libcrypto/err/err.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h
index 9411fb3568..15bafbff43 100644
--- a/src/lib/libcrypto/err/err.h
+++ b/src/lib/libcrypto/err/err.h
@@ -122,6 +122,7 @@ typedef struct err_state_st
122#define ERR_LIB_PKCS7 33 122#define ERR_LIB_PKCS7 33
123#define ERR_LIB_X509V3 34 123#define ERR_LIB_X509V3 34
124#define ERR_LIB_PKCS12 35 124#define ERR_LIB_PKCS12 35
125#define ERR_LIB_RAND 36
125 126
126#define ERR_LIB_USER 128 127#define ERR_LIB_USER 128
127 128
@@ -149,6 +150,7 @@ typedef struct err_state_st
149#define PKCS7err(f,r) ERR_PUT_error(ERR_LIB_PKCS7,(f),(r),ERR_file_name,__LINE__) 150#define PKCS7err(f,r) ERR_PUT_error(ERR_LIB_PKCS7,(f),(r),ERR_file_name,__LINE__)
150#define X509V3err(f,r) ERR_PUT_error(ERR_LIB_X509V3,(f),(r),ERR_file_name,__LINE__) 151#define X509V3err(f,r) ERR_PUT_error(ERR_LIB_X509V3,(f),(r),ERR_file_name,__LINE__)
151#define PKCS12err(f,r) ERR_PUT_error(ERR_LIB_PKCS12,(f),(r),ERR_file_name,__LINE__) 152#define PKCS12err(f,r) ERR_PUT_error(ERR_LIB_PKCS12,(f),(r),ERR_file_name,__LINE__)
153#define RANDerr(f,r) ERR_PUT_error(ERR_LIB_RAND,(f),(r),ERR_file_name,__LINE__)
152 154
153/* Borland C seems too stupid to be able to shift and do longs in 155/* Borland C seems too stupid to be able to shift and do longs in
154 * the pre-processor :-( */ 156 * the pre-processor :-( */
@@ -160,7 +162,7 @@ typedef struct err_state_st
160#define ERR_GET_REASON(l) (int)((l)&0xfffL) 162#define ERR_GET_REASON(l) (int)((l)&0xfffL)
161#define ERR_FATAL_ERROR(l) (int)((l)&ERR_R_FATAL) 163#define ERR_FATAL_ERROR(l) (int)((l)&ERR_R_FATAL)
162 164
163/* OS fuctions */ 165/* OS functions */
164#define SYS_F_FOPEN 1 166#define SYS_F_FOPEN 1
165#define SYS_F_CONNECT 2 167#define SYS_F_CONNECT 2
166#define SYS_F_GETSERVBYNAME 3 168#define SYS_F_GETSERVBYNAME 3
@@ -239,9 +241,9 @@ void ERR_print_errors(BIO *bp);
239void ERR_add_error_data(int num, ...); 241void ERR_add_error_data(int num, ...);
240#endif 242#endif
241void ERR_load_strings(int lib,ERR_STRING_DATA str[]); 243void ERR_load_strings(int lib,ERR_STRING_DATA str[]);
242void ERR_load_ERR_strings(void ); 244void ERR_load_ERR_strings(void);
243void ERR_load_crypto_strings(void ); 245void ERR_load_crypto_strings(void);
244void ERR_free_strings(void ); 246void ERR_free_strings(void);
245 247
246void ERR_remove_state(unsigned long pid); /* if zero we look it up */ 248void ERR_remove_state(unsigned long pid); /* if zero we look it up */
247ERR_STATE *ERR_get_state(void); 249ERR_STATE *ERR_get_state(void);