diff options
author | djm <> | 2005-04-29 05:39:33 +0000 |
---|---|---|
committer | djm <> | 2005-04-29 05:39:33 +0000 |
commit | 68edd00d9258df93b1366c71ac124e0cadf7bc08 (patch) | |
tree | 3ce4ae2a9747bbc11aed1f95f9bbea92c41f8683 /src/lib/libcrypto/err | |
parent | f396ed0f5ce0af56bfde2e75e15cf1f52924c779 (diff) | |
download | openbsd-68edd00d9258df93b1366c71ac124e0cadf7bc08.tar.gz openbsd-68edd00d9258df93b1366c71ac124e0cadf7bc08.tar.bz2 openbsd-68edd00d9258df93b1366c71ac124e0cadf7bc08.zip |
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/err')
-rw-r--r-- | src/lib/libcrypto/err/err.c | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/err/err.h | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/err/err_all.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/err/openssl.ec | 1 |
4 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index 792f329600..c78790a54c 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c | |||
@@ -149,6 +149,7 @@ static ERR_STRING_DATA ERR_str_libraries[]= | |||
149 | {ERR_PACK(ERR_LIB_DSO,0,0) ,"DSO support routines"}, | 149 | {ERR_PACK(ERR_LIB_DSO,0,0) ,"DSO support routines"}, |
150 | {ERR_PACK(ERR_LIB_ENGINE,0,0) ,"engine routines"}, | 150 | {ERR_PACK(ERR_LIB_ENGINE,0,0) ,"engine routines"}, |
151 | {ERR_PACK(ERR_LIB_OCSP,0,0) ,"OCSP routines"}, | 151 | {ERR_PACK(ERR_LIB_OCSP,0,0) ,"OCSP routines"}, |
152 | {ERR_PACK(ERR_LIB_FIPS,0,0) ,"FIPS routines"}, | ||
152 | {0,NULL}, | 153 | {0,NULL}, |
153 | }; | 154 | }; |
154 | 155 | ||
@@ -167,6 +168,7 @@ static ERR_STRING_DATA ERR_str_functs[]= | |||
167 | #endif | 168 | #endif |
168 | {ERR_PACK(0,SYS_F_OPENDIR,0), "opendir"}, | 169 | {ERR_PACK(0,SYS_F_OPENDIR,0), "opendir"}, |
169 | {ERR_PACK(0,SYS_F_FREAD,0), "fread"}, | 170 | {ERR_PACK(0,SYS_F_FREAD,0), "fread"}, |
171 | {ERR_PACK(0,SYS_F_GETADDRINFO,0), "getaddrinfo"}, | ||
170 | {0,NULL}, | 172 | {0,NULL}, |
171 | }; | 173 | }; |
172 | 174 | ||
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index 8faa3a7b4f..2efa18866a 100644 --- a/src/lib/libcrypto/err/err.h +++ b/src/lib/libcrypto/err/err.h | |||
@@ -131,6 +131,7 @@ typedef struct err_state_st | |||
131 | #define ERR_LIB_OCSP 39 | 131 | #define ERR_LIB_OCSP 39 |
132 | #define ERR_LIB_UI 40 | 132 | #define ERR_LIB_UI 40 |
133 | #define ERR_LIB_COMP 41 | 133 | #define ERR_LIB_COMP 41 |
134 | #define ERR_LIB_FIPS 42 | ||
134 | 135 | ||
135 | #define ERR_LIB_USER 128 | 136 | #define ERR_LIB_USER 128 |
136 | 137 | ||
@@ -159,6 +160,7 @@ typedef struct err_state_st | |||
159 | #define OCSPerr(f,r) ERR_PUT_error(ERR_LIB_OCSP,(f),(r),__FILE__,__LINE__) | 160 | #define OCSPerr(f,r) ERR_PUT_error(ERR_LIB_OCSP,(f),(r),__FILE__,__LINE__) |
160 | #define UIerr(f,r) ERR_PUT_error(ERR_LIB_UI,(f),(r),__FILE__,__LINE__) | 161 | #define UIerr(f,r) ERR_PUT_error(ERR_LIB_UI,(f),(r),__FILE__,__LINE__) |
161 | #define COMPerr(f,r) ERR_PUT_error(ERR_LIB_COMP,(f),(r),__FILE__,__LINE__) | 162 | #define COMPerr(f,r) ERR_PUT_error(ERR_LIB_COMP,(f),(r),__FILE__,__LINE__) |
163 | #define FIPSerr(f,r) ERR_PUT_error(ERR_LIB_FIPS,(f),(r),__FILE__,__LINE__) | ||
162 | 164 | ||
163 | /* Borland C seems too stupid to be able to shift and do longs in | 165 | /* Borland C seems too stupid to be able to shift and do longs in |
164 | * the pre-processor :-( */ | 166 | * the pre-processor :-( */ |
@@ -183,6 +185,7 @@ typedef struct err_state_st | |||
183 | #define SYS_F_WSASTARTUP 9 /* Winsock stuff */ | 185 | #define SYS_F_WSASTARTUP 9 /* Winsock stuff */ |
184 | #define SYS_F_OPENDIR 10 | 186 | #define SYS_F_OPENDIR 10 |
185 | #define SYS_F_FREAD 11 | 187 | #define SYS_F_FREAD 11 |
188 | #define SYS_F_GETADDRINFO 12 | ||
186 | 189 | ||
187 | 190 | ||
188 | /* reasons */ | 191 | /* reasons */ |
diff --git a/src/lib/libcrypto/err/err_all.c b/src/lib/libcrypto/err/err_all.c index dc505d9d9d..4dc9300892 100644 --- a/src/lib/libcrypto/err/err_all.c +++ b/src/lib/libcrypto/err/err_all.c | |||
@@ -87,6 +87,7 @@ | |||
87 | #endif | 87 | #endif |
88 | #include <openssl/ocsp.h> | 88 | #include <openssl/ocsp.h> |
89 | #include <openssl/err.h> | 89 | #include <openssl/err.h> |
90 | #include <openssl/fips.h> | ||
90 | 91 | ||
91 | void ERR_load_crypto_strings(void) | 92 | void ERR_load_crypto_strings(void) |
92 | { | 93 | { |
@@ -130,4 +131,7 @@ void ERR_load_crypto_strings(void) | |||
130 | ERR_load_OCSP_strings(); | 131 | ERR_load_OCSP_strings(); |
131 | ERR_load_UI_strings(); | 132 | ERR_load_UI_strings(); |
132 | #endif | 133 | #endif |
134 | #ifdef OPENSSL_FIPS | ||
135 | ERR_load_FIPS_strings(); | ||
136 | #endif | ||
133 | } | 137 | } |
diff --git a/src/lib/libcrypto/err/openssl.ec b/src/lib/libcrypto/err/openssl.ec index 29a69dfdd4..447a7f87ed 100644 --- a/src/lib/libcrypto/err/openssl.ec +++ b/src/lib/libcrypto/err/openssl.ec | |||
@@ -27,6 +27,7 @@ L DSO crypto/dso/dso.h crypto/dso/dso_err.c | |||
27 | L ENGINE crypto/engine/engine.h crypto/engine/eng_err.c | 27 | L ENGINE crypto/engine/engine.h crypto/engine/eng_err.c |
28 | L OCSP crypto/ocsp/ocsp.h crypto/ocsp/ocsp_err.c | 28 | L OCSP crypto/ocsp/ocsp.h crypto/ocsp/ocsp_err.c |
29 | L UI crypto/ui/ui.h crypto/ui/ui_err.c | 29 | L UI crypto/ui/ui.h crypto/ui/ui_err.c |
30 | L FIPS fips/fips.h fips/fips_err.h | ||
30 | 31 | ||
31 | # additional header files to be scanned for function names | 32 | # additional header files to be scanned for function names |
32 | L NONE crypto/x509/x509_vfy.h NONE | 33 | L NONE crypto/x509/x509_vfy.h NONE |