diff options
author | beck <> | 2000-12-15 02:58:47 +0000 |
---|---|---|
committer | beck <> | 2000-12-15 02:58:47 +0000 |
commit | 9200bb13d15da4b2a23e6bc92c20e95b74aa2113 (patch) | |
tree | 5c52d628ec1e34be76e7ef2a4235d248b7c44d24 /src/lib/libcrypto/asn1 | |
parent | e131d25072e3d4197ba4b9bcc0d1b27d34d6488d (diff) | |
download | openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.gz openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.bz2 openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.zip |
openssl-engine-0.9.6 merge
Diffstat (limited to 'src/lib/libcrypto/asn1')
75 files changed, 2033 insertions, 868 deletions
diff --git a/src/lib/libcrypto/asn1/Makefile.ssl b/src/lib/libcrypto/asn1/Makefile.ssl index a17a713a75..b8059ddffe 100644 --- a/src/lib/libcrypto/asn1/Makefile.ssl +++ b/src/lib/libcrypto/asn1/Makefile.ssl | |||
@@ -24,7 +24,7 @@ APPS= | |||
24 | LIB=$(TOP)/libcrypto.a | 24 | LIB=$(TOP)/libcrypto.a |
25 | LIBSRC= a_object.c a_bitstr.c a_utctm.c a_gentm.c a_time.c a_int.c a_octet.c \ | 25 | LIBSRC= a_object.c a_bitstr.c a_utctm.c a_gentm.c a_time.c a_int.c a_octet.c \ |
26 | a_null.c a_print.c a_type.c a_set.c a_dup.c a_d2i_fp.c a_i2d_fp.c a_bmp.c \ | 26 | a_null.c a_print.c a_type.c a_set.c a_dup.c a_d2i_fp.c a_i2d_fp.c a_bmp.c \ |
27 | a_enum.c a_vis.c a_utf8.c a_sign.c a_digest.c a_verify.c a_mbstr.c \ | 27 | a_enum.c a_vis.c a_utf8.c a_sign.c a_digest.c a_verify.c a_mbstr.c a_strex.c \ |
28 | x_algor.c x_val.c x_pubkey.c x_sig.c x_req.c x_attrib.c \ | 28 | x_algor.c x_val.c x_pubkey.c x_sig.c x_req.c x_attrib.c \ |
29 | x_name.c x_cinf.c x_x509.c x_x509a.c x_crl.c x_info.c x_spki.c nsseq.c \ | 29 | x_name.c x_cinf.c x_x509.c x_x509a.c x_crl.c x_info.c x_spki.c nsseq.c \ |
30 | d2i_r_pr.c i2d_r_pr.c d2i_r_pu.c i2d_r_pu.c \ | 30 | d2i_r_pr.c i2d_r_pr.c d2i_r_pu.c i2d_r_pu.c \ |
@@ -39,7 +39,7 @@ LIBSRC= a_object.c a_bitstr.c a_utctm.c a_gentm.c a_time.c a_int.c a_octet.c \ | |||
39 | evp_asn1.c asn_pack.c p5_pbe.c p5_pbev2.c p8_pkey.c | 39 | evp_asn1.c asn_pack.c p5_pbe.c p5_pbev2.c p8_pkey.c |
40 | LIBOBJ= a_object.o a_bitstr.o a_utctm.o a_gentm.o a_time.o a_int.o a_octet.o \ | 40 | LIBOBJ= a_object.o a_bitstr.o a_utctm.o a_gentm.o a_time.o a_int.o a_octet.o \ |
41 | a_null.o a_print.o a_type.o a_set.o a_dup.o a_d2i_fp.o a_i2d_fp.o a_bmp.o \ | 41 | a_null.o a_print.o a_type.o a_set.o a_dup.o a_d2i_fp.o a_i2d_fp.o a_bmp.o \ |
42 | a_enum.o a_vis.o a_utf8.o a_sign.o a_digest.o a_verify.o a_mbstr.o \ | 42 | a_enum.o a_vis.o a_utf8.o a_sign.o a_digest.o a_verify.o a_mbstr.o a_strex.o \ |
43 | x_algor.o x_val.o x_pubkey.o x_sig.o x_req.o x_attrib.o \ | 43 | x_algor.o x_val.o x_pubkey.o x_sig.o x_req.o x_attrib.o \ |
44 | x_name.o x_cinf.o x_x509.o x_x509a.o x_crl.o x_info.o x_spki.o nsseq.o \ | 44 | x_name.o x_cinf.o x_x509.o x_x509a.o x_crl.o x_info.o x_spki.o nsseq.o \ |
45 | d2i_r_pr.o i2d_r_pr.o d2i_r_pu.o i2d_r_pu.o \ | 45 | d2i_r_pr.o i2d_r_pr.o d2i_r_pu.o i2d_r_pu.o \ |
@@ -119,37 +119,43 @@ a_bitstr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | |||
119 | a_bitstr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 119 | a_bitstr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
120 | a_bitstr.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 120 | a_bitstr.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
121 | a_bitstr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 121 | a_bitstr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
122 | a_bitstr.o: ../../include/openssl/opensslconf.h | 122 | a_bitstr.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
123 | a_bitstr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 123 | a_bitstr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
124 | a_bitstr.o: ../../include/openssl/stack.h ../cryptlib.h | 124 | a_bitstr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
125 | a_bitstr.o: ../cryptlib.h | ||
125 | a_bmp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 126 | a_bmp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
126 | a_bmp.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 127 | a_bmp.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
127 | a_bmp.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 128 | a_bmp.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
128 | a_bmp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 129 | a_bmp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
129 | a_bmp.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 130 | a_bmp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
130 | a_bmp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 131 | a_bmp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
132 | a_bmp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
131 | a_bmp.o: ../cryptlib.h | 133 | a_bmp.o: ../cryptlib.h |
132 | a_bool.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 134 | a_bool.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
133 | a_bool.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 135 | a_bool.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
134 | a_bool.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 136 | a_bool.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
135 | a_bool.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 137 | a_bool.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
136 | a_bool.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 138 | a_bool.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
137 | a_bool.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 139 | a_bool.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
140 | a_bool.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
138 | a_bool.o: ../cryptlib.h | 141 | a_bool.o: ../cryptlib.h |
139 | a_bytes.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 142 | a_bytes.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
140 | a_bytes.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 143 | a_bytes.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
141 | a_bytes.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 144 | a_bytes.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
142 | a_bytes.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 145 | a_bytes.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
143 | a_bytes.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 146 | a_bytes.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
144 | a_bytes.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 147 | a_bytes.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
145 | a_bytes.o: ../../include/openssl/stack.h ../cryptlib.h | 148 | a_bytes.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
149 | a_bytes.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
146 | a_d2i_fp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 150 | a_d2i_fp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
147 | a_d2i_fp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 151 | a_d2i_fp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
148 | a_d2i_fp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 152 | a_d2i_fp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
149 | a_d2i_fp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 153 | a_d2i_fp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
150 | a_d2i_fp.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 154 | a_d2i_fp.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
155 | a_d2i_fp.o: ../../include/openssl/opensslconf.h | ||
151 | a_d2i_fp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 156 | a_d2i_fp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
152 | a_d2i_fp.o: ../../include/openssl/stack.h ../cryptlib.h | 157 | a_d2i_fp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
158 | a_d2i_fp.o: ../cryptlib.h | ||
153 | a_digest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 159 | a_digest.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
154 | a_digest.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 160 | a_digest.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
155 | a_digest.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | 161 | a_digest.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
@@ -157,107 +163,124 @@ a_digest.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | |||
157 | a_digest.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 163 | a_digest.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
158 | a_digest.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 164 | a_digest.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
159 | a_digest.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 165 | a_digest.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
160 | a_digest.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 166 | a_digest.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
167 | a_digest.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
161 | a_digest.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 168 | a_digest.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
162 | a_digest.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 169 | a_digest.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
170 | a_digest.o: ../../include/openssl/opensslconf.h | ||
163 | a_digest.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 171 | a_digest.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
164 | a_digest.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 172 | a_digest.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
165 | a_digest.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 173 | a_digest.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
166 | a_digest.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 174 | a_digest.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
167 | a_digest.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 175 | a_digest.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
168 | a_digest.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 176 | a_digest.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
169 | a_digest.o: ../cryptlib.h | 177 | a_digest.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
170 | a_dup.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 178 | a_dup.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
171 | a_dup.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 179 | a_dup.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
172 | a_dup.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 180 | a_dup.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
173 | a_dup.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 181 | a_dup.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
174 | a_dup.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 182 | a_dup.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
175 | a_dup.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 183 | a_dup.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
176 | a_dup.o: ../../include/openssl/stack.h ../cryptlib.h | 184 | a_dup.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
185 | a_dup.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
177 | a_enum.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 186 | a_enum.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
178 | a_enum.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 187 | a_enum.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
179 | a_enum.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 188 | a_enum.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
180 | a_enum.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 189 | a_enum.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
181 | a_enum.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 190 | a_enum.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
182 | a_enum.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 191 | a_enum.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
192 | a_enum.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
183 | a_enum.o: ../cryptlib.h | 193 | a_enum.o: ../cryptlib.h |
184 | a_gentm.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 194 | a_gentm.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
185 | a_gentm.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 195 | a_gentm.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
186 | a_gentm.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 196 | a_gentm.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
187 | a_gentm.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 197 | a_gentm.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
188 | a_gentm.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 198 | a_gentm.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
189 | a_gentm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 199 | a_gentm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
200 | a_gentm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
190 | a_gentm.o: ../cryptlib.h | 201 | a_gentm.o: ../cryptlib.h |
191 | a_hdr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 202 | a_hdr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
192 | a_hdr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 203 | a_hdr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
193 | a_hdr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 204 | a_hdr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
194 | a_hdr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 205 | a_hdr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
195 | a_hdr.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 206 | a_hdr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
196 | a_hdr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 207 | a_hdr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
197 | a_hdr.o: ../../include/openssl/stack.h ../cryptlib.h | 208 | a_hdr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
209 | a_hdr.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
198 | a_i2d_fp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 210 | a_i2d_fp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
199 | a_i2d_fp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 211 | a_i2d_fp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
200 | a_i2d_fp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 212 | a_i2d_fp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
201 | a_i2d_fp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 213 | a_i2d_fp.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
202 | a_i2d_fp.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 214 | a_i2d_fp.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
215 | a_i2d_fp.o: ../../include/openssl/opensslconf.h | ||
203 | a_i2d_fp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 216 | a_i2d_fp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
204 | a_i2d_fp.o: ../../include/openssl/stack.h ../cryptlib.h | 217 | a_i2d_fp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
218 | a_i2d_fp.o: ../cryptlib.h | ||
205 | a_int.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 219 | a_int.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
206 | a_int.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 220 | a_int.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
207 | a_int.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 221 | a_int.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
208 | a_int.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 222 | a_int.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
209 | a_int.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 223 | a_int.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
210 | a_int.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 224 | a_int.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
225 | a_int.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
211 | a_int.o: ../cryptlib.h | 226 | a_int.o: ../cryptlib.h |
212 | a_mbstr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 227 | a_mbstr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
213 | a_mbstr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 228 | a_mbstr.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
214 | a_mbstr.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 229 | a_mbstr.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
215 | a_mbstr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 230 | a_mbstr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
216 | a_mbstr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 231 | a_mbstr.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
217 | a_mbstr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 232 | a_mbstr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
233 | a_mbstr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
218 | a_mbstr.o: ../cryptlib.h | 234 | a_mbstr.o: ../cryptlib.h |
219 | a_meth.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 235 | a_meth.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
220 | a_meth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 236 | a_meth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
221 | a_meth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 237 | a_meth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
222 | a_meth.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 238 | a_meth.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
223 | a_meth.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 239 | a_meth.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
224 | a_meth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 240 | a_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
241 | a_meth.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
225 | a_meth.o: ../cryptlib.h | 242 | a_meth.o: ../cryptlib.h |
226 | a_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 243 | a_null.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
227 | a_null.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 244 | a_null.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
228 | a_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 245 | a_null.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
229 | a_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 246 | a_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
230 | a_null.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 247 | a_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
231 | a_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 248 | a_null.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
249 | a_null.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
232 | a_null.o: ../cryptlib.h | 250 | a_null.o: ../cryptlib.h |
233 | a_object.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 251 | a_object.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
234 | a_object.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 252 | a_object.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
235 | a_object.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 253 | a_object.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
236 | a_object.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 254 | a_object.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
255 | a_object.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
237 | a_object.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 256 | a_object.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
238 | a_object.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 257 | a_object.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
239 | a_object.o: ../../include/openssl/stack.h ../cryptlib.h | 258 | a_object.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
259 | a_object.o: ../cryptlib.h | ||
240 | a_octet.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 260 | a_octet.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
241 | a_octet.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 261 | a_octet.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
242 | a_octet.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 262 | a_octet.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
243 | a_octet.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 263 | a_octet.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
244 | a_octet.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 264 | a_octet.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
245 | a_octet.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 265 | a_octet.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
266 | a_octet.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
246 | a_octet.o: ../cryptlib.h | 267 | a_octet.o: ../cryptlib.h |
247 | a_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 268 | a_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
248 | a_print.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 269 | a_print.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
249 | a_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 270 | a_print.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
250 | a_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 271 | a_print.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
251 | a_print.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 272 | a_print.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
252 | a_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 273 | a_print.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
274 | a_print.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
253 | a_print.o: ../cryptlib.h | 275 | a_print.o: ../cryptlib.h |
254 | a_set.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 276 | a_set.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
255 | a_set.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 277 | a_set.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
256 | a_set.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 278 | a_set.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
257 | a_set.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 279 | a_set.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
258 | a_set.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 280 | a_set.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
259 | a_set.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 281 | a_set.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
260 | a_set.o: ../../include/openssl/stack.h ../cryptlib.h | 282 | a_set.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
283 | a_set.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
261 | a_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 284 | a_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
262 | a_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 285 | a_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
263 | a_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | 286 | a_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
@@ -265,50 +288,76 @@ a_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | |||
265 | a_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 288 | a_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
266 | a_sign.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 289 | a_sign.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
267 | a_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 290 | a_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
268 | a_sign.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 291 | a_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
292 | a_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
269 | a_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 293 | a_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
270 | a_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 294 | a_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
271 | a_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 295 | a_sign.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
272 | a_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 296 | a_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
273 | a_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 297 | a_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
274 | a_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 298 | a_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
275 | a_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 299 | a_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
300 | a_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
276 | a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 301 | a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
277 | a_sign.o: ../cryptlib.h | 302 | a_sign.o: ../cryptlib.h |
303 | a_strex.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
304 | a_strex.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | ||
305 | a_strex.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | ||
306 | a_strex.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
307 | a_strex.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
308 | a_strex.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h | ||
309 | a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h | ||
310 | a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
311 | a_strex.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | ||
312 | a_strex.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
313 | a_strex.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
314 | a_strex.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | ||
315 | a_strex.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | ||
316 | a_strex.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | ||
317 | a_strex.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
318 | a_strex.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
319 | a_strex.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
320 | a_strex.o: charmap.h | ||
278 | a_strnid.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 321 | a_strnid.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
279 | a_strnid.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 322 | a_strnid.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
280 | a_strnid.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 323 | a_strnid.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
281 | a_strnid.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 324 | a_strnid.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
325 | a_strnid.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
282 | a_strnid.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 326 | a_strnid.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
283 | a_strnid.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 327 | a_strnid.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
284 | a_strnid.o: ../../include/openssl/stack.h ../cryptlib.h | 328 | a_strnid.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
329 | a_strnid.o: ../cryptlib.h | ||
285 | a_time.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 330 | a_time.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
286 | a_time.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 331 | a_time.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
287 | a_time.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 332 | a_time.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
288 | a_time.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 333 | a_time.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
289 | a_time.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 334 | a_time.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
290 | a_time.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 335 | a_time.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
336 | a_time.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
291 | a_time.o: ../cryptlib.h | 337 | a_time.o: ../cryptlib.h |
292 | a_type.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 338 | a_type.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
293 | a_type.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 339 | a_type.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
294 | a_type.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 340 | a_type.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
295 | a_type.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 341 | a_type.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
296 | a_type.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 342 | a_type.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
297 | a_type.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 343 | a_type.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
298 | a_type.o: ../../include/openssl/stack.h ../cryptlib.h | 344 | a_type.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
345 | a_type.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
299 | a_utctm.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 346 | a_utctm.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
300 | a_utctm.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 347 | a_utctm.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
301 | a_utctm.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 348 | a_utctm.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
302 | a_utctm.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 349 | a_utctm.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
303 | a_utctm.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 350 | a_utctm.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
304 | a_utctm.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 351 | a_utctm.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
352 | a_utctm.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
305 | a_utctm.o: ../cryptlib.h | 353 | a_utctm.o: ../cryptlib.h |
306 | a_utf8.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 354 | a_utf8.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
307 | a_utf8.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 355 | a_utf8.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
308 | a_utf8.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 356 | a_utf8.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
309 | a_utf8.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 357 | a_utf8.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
310 | a_utf8.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 358 | a_utf8.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
311 | a_utf8.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 359 | a_utf8.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
360 | a_utf8.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
312 | a_utf8.o: ../cryptlib.h | 361 | a_utf8.o: ../cryptlib.h |
313 | a_verify.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 362 | a_verify.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
314 | a_verify.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 363 | a_verify.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
@@ -317,64 +366,79 @@ a_verify.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | |||
317 | a_verify.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 366 | a_verify.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
318 | a_verify.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 367 | a_verify.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
319 | a_verify.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 368 | a_verify.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
320 | a_verify.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 369 | a_verify.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
370 | a_verify.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
321 | a_verify.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 371 | a_verify.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
322 | a_verify.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 372 | a_verify.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
373 | a_verify.o: ../../include/openssl/opensslconf.h | ||
323 | a_verify.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 374 | a_verify.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
324 | a_verify.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 375 | a_verify.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
325 | a_verify.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 376 | a_verify.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
326 | a_verify.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 377 | a_verify.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
327 | a_verify.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 378 | a_verify.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
328 | a_verify.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 379 | a_verify.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
329 | a_verify.o: ../cryptlib.h | 380 | a_verify.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
330 | a_vis.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 381 | a_vis.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
331 | a_vis.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 382 | a_vis.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
332 | a_vis.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 383 | a_vis.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
333 | a_vis.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 384 | a_vis.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
334 | a_vis.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 385 | a_vis.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
335 | a_vis.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 386 | a_vis.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
387 | a_vis.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
336 | a_vis.o: ../cryptlib.h | 388 | a_vis.o: ../cryptlib.h |
337 | asn1_err.o: ../../include/openssl/asn1.h ../../include/openssl/bn.h | 389 | asn1_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
338 | asn1_err.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 390 | asn1_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
339 | asn1_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 391 | asn1_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
392 | asn1_err.o: ../../include/openssl/opensslconf.h | ||
393 | asn1_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
394 | asn1_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
340 | asn1_lib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 395 | asn1_lib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
341 | asn1_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 396 | asn1_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
342 | asn1_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 397 | asn1_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
343 | asn1_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 398 | asn1_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
344 | asn1_lib.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 399 | asn1_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
400 | asn1_lib.o: ../../include/openssl/opensslconf.h | ||
345 | asn1_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 401 | asn1_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
346 | asn1_lib.o: ../../include/openssl/stack.h ../cryptlib.h | 402 | asn1_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
403 | asn1_lib.o: ../cryptlib.h | ||
347 | asn1_par.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 404 | asn1_par.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
348 | asn1_par.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 405 | asn1_par.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
349 | asn1_par.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 406 | asn1_par.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
350 | asn1_par.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 407 | asn1_par.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
408 | asn1_par.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
351 | asn1_par.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 409 | asn1_par.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
352 | asn1_par.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 410 | asn1_par.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
353 | asn1_par.o: ../../include/openssl/stack.h ../cryptlib.h | 411 | asn1_par.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
412 | asn1_par.o: ../cryptlib.h | ||
354 | asn_pack.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 413 | asn_pack.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
355 | asn_pack.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 414 | asn_pack.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
356 | asn_pack.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 415 | asn_pack.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
357 | asn_pack.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 416 | asn_pack.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
358 | asn_pack.o: ../../include/openssl/opensslconf.h | 417 | asn_pack.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
359 | asn_pack.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 418 | asn_pack.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
360 | asn_pack.o: ../../include/openssl/stack.h ../cryptlib.h | 419 | asn_pack.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
420 | asn_pack.o: ../cryptlib.h | ||
361 | d2i_dhp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 421 | d2i_dhp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
362 | d2i_dhp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 422 | d2i_dhp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
363 | d2i_dhp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 423 | d2i_dhp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
364 | d2i_dhp.o: ../../include/openssl/dh.h ../../include/openssl/e_os.h | 424 | d2i_dhp.o: ../../include/openssl/dh.h ../../include/openssl/e_os.h |
365 | d2i_dhp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 425 | d2i_dhp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
426 | d2i_dhp.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
366 | d2i_dhp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 427 | d2i_dhp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
367 | d2i_dhp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 428 | d2i_dhp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
368 | d2i_dhp.o: ../../include/openssl/stack.h ../cryptlib.h | 429 | d2i_dhp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
430 | d2i_dhp.o: ../cryptlib.h | ||
369 | d2i_dsap.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 431 | d2i_dsap.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
370 | d2i_dsap.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 432 | d2i_dsap.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
371 | d2i_dsap.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 433 | d2i_dsap.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
372 | d2i_dsap.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 434 | d2i_dsap.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
373 | d2i_dsap.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 435 | d2i_dsap.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
374 | d2i_dsap.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 436 | d2i_dsap.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
437 | d2i_dsap.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
375 | d2i_dsap.o: ../../include/openssl/opensslconf.h | 438 | d2i_dsap.o: ../../include/openssl/opensslconf.h |
376 | d2i_dsap.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 439 | d2i_dsap.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
377 | d2i_dsap.o: ../../include/openssl/stack.h ../cryptlib.h | 440 | d2i_dsap.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
441 | d2i_dsap.o: ../cryptlib.h | ||
378 | d2i_pr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 442 | d2i_pr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
379 | d2i_pr.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 443 | d2i_pr.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
380 | d2i_pr.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | 444 | d2i_pr.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
@@ -382,14 +446,16 @@ d2i_pr.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | |||
382 | d2i_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 446 | d2i_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
383 | d2i_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 447 | d2i_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
384 | d2i_pr.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 448 | d2i_pr.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
385 | d2i_pr.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 449 | d2i_pr.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
450 | d2i_pr.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
386 | d2i_pr.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 451 | d2i_pr.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
387 | d2i_pr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 452 | d2i_pr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
388 | d2i_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h | 453 | d2i_pr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
389 | d2i_pr.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 454 | d2i_pr.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
390 | d2i_pr.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 455 | d2i_pr.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
391 | d2i_pr.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 456 | d2i_pr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
392 | d2i_pr.o: ../../include/openssl/stack.h ../cryptlib.h | 457 | d2i_pr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
458 | d2i_pr.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
393 | d2i_pu.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 459 | d2i_pu.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
394 | d2i_pu.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 460 | d2i_pu.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
395 | d2i_pu.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | 461 | d2i_pu.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
@@ -397,94 +463,110 @@ d2i_pu.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | |||
397 | d2i_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 463 | d2i_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
398 | d2i_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 464 | d2i_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
399 | d2i_pu.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 465 | d2i_pu.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
400 | d2i_pu.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 466 | d2i_pu.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
467 | d2i_pu.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
401 | d2i_pu.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 468 | d2i_pu.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
402 | d2i_pu.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 469 | d2i_pu.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
403 | d2i_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h | 470 | d2i_pu.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
404 | d2i_pu.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 471 | d2i_pu.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
405 | d2i_pu.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 472 | d2i_pu.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
406 | d2i_pu.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 473 | d2i_pu.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
407 | d2i_pu.o: ../../include/openssl/stack.h ../cryptlib.h | 474 | d2i_pu.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
475 | d2i_pu.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
408 | d2i_r_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 476 | d2i_r_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
409 | d2i_r_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 477 | d2i_r_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
410 | d2i_r_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 478 | d2i_r_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
411 | d2i_r_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 479 | d2i_r_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
412 | d2i_r_pr.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 480 | d2i_r_pr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
481 | d2i_r_pr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
413 | d2i_r_pr.o: ../../include/openssl/opensslconf.h | 482 | d2i_r_pr.o: ../../include/openssl/opensslconf.h |
414 | d2i_r_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h | 483 | d2i_r_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h |
415 | d2i_r_pr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 484 | d2i_r_pr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
416 | d2i_r_pr.o: ../cryptlib.h | 485 | d2i_r_pr.o: ../../include/openssl/symhacks.h ../cryptlib.h |
417 | d2i_r_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 486 | d2i_r_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
418 | d2i_r_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 487 | d2i_r_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
419 | d2i_r_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 488 | d2i_r_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
420 | d2i_r_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 489 | d2i_r_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
421 | d2i_r_pu.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 490 | d2i_r_pu.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
491 | d2i_r_pu.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
422 | d2i_r_pu.o: ../../include/openssl/opensslconf.h | 492 | d2i_r_pu.o: ../../include/openssl/opensslconf.h |
423 | d2i_r_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h | 493 | d2i_r_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h |
424 | d2i_r_pu.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 494 | d2i_r_pu.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
425 | d2i_r_pu.o: ../cryptlib.h | 495 | d2i_r_pu.o: ../../include/openssl/symhacks.h ../cryptlib.h |
426 | d2i_s_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 496 | d2i_s_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
427 | d2i_s_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 497 | d2i_s_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
428 | d2i_s_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 498 | d2i_s_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
429 | d2i_s_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 499 | d2i_s_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
430 | d2i_s_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 500 | d2i_s_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
431 | d2i_s_pr.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 501 | d2i_s_pr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
502 | d2i_s_pr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
432 | d2i_s_pr.o: ../../include/openssl/opensslconf.h | 503 | d2i_s_pr.o: ../../include/openssl/opensslconf.h |
433 | d2i_s_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 504 | d2i_s_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
434 | d2i_s_pr.o: ../../include/openssl/stack.h ../cryptlib.h | 505 | d2i_s_pr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
506 | d2i_s_pr.o: ../cryptlib.h | ||
435 | d2i_s_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 507 | d2i_s_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
436 | d2i_s_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 508 | d2i_s_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
437 | d2i_s_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 509 | d2i_s_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
438 | d2i_s_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 510 | d2i_s_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
439 | d2i_s_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 511 | d2i_s_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
440 | d2i_s_pu.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 512 | d2i_s_pu.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
513 | d2i_s_pu.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
441 | d2i_s_pu.o: ../../include/openssl/opensslconf.h | 514 | d2i_s_pu.o: ../../include/openssl/opensslconf.h |
442 | d2i_s_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 515 | d2i_s_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
443 | d2i_s_pu.o: ../../include/openssl/stack.h ../cryptlib.h | 516 | d2i_s_pu.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
517 | d2i_s_pu.o: ../cryptlib.h | ||
444 | evp_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 518 | evp_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
445 | evp_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 519 | evp_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
446 | evp_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 520 | evp_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
447 | evp_asn1.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 521 | evp_asn1.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
448 | evp_asn1.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 522 | evp_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
523 | evp_asn1.o: ../../include/openssl/opensslconf.h | ||
449 | evp_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 524 | evp_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
450 | evp_asn1.o: ../../include/openssl/stack.h ../cryptlib.h | 525 | evp_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
526 | evp_asn1.o: ../cryptlib.h | ||
451 | f_enum.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 527 | f_enum.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
452 | f_enum.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 528 | f_enum.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
453 | f_enum.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 529 | f_enum.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
454 | f_enum.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 530 | f_enum.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
455 | f_enum.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 531 | f_enum.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
456 | f_enum.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 532 | f_enum.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
533 | f_enum.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
457 | f_enum.o: ../cryptlib.h | 534 | f_enum.o: ../cryptlib.h |
458 | f_int.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 535 | f_int.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
459 | f_int.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 536 | f_int.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
460 | f_int.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 537 | f_int.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
461 | f_int.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 538 | f_int.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
462 | f_int.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 539 | f_int.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
463 | f_int.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 540 | f_int.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
541 | f_int.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
464 | f_int.o: ../cryptlib.h | 542 | f_int.o: ../cryptlib.h |
465 | f_string.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 543 | f_string.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
466 | f_string.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 544 | f_string.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
467 | f_string.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h | 545 | f_string.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h |
468 | f_string.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 546 | f_string.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
469 | f_string.o: ../../include/openssl/opensslconf.h | 547 | f_string.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
470 | f_string.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 548 | f_string.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
471 | f_string.o: ../../include/openssl/stack.h ../cryptlib.h | 549 | f_string.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
550 | f_string.o: ../cryptlib.h | ||
472 | i2d_dhp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 551 | i2d_dhp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
473 | i2d_dhp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 552 | i2d_dhp.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
474 | i2d_dhp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 553 | i2d_dhp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
475 | i2d_dhp.o: ../../include/openssl/dh.h ../../include/openssl/e_os.h | 554 | i2d_dhp.o: ../../include/openssl/dh.h ../../include/openssl/e_os.h |
476 | i2d_dhp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 555 | i2d_dhp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
477 | i2d_dhp.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 556 | i2d_dhp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
478 | i2d_dhp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 557 | i2d_dhp.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
558 | i2d_dhp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
479 | i2d_dhp.o: ../cryptlib.h | 559 | i2d_dhp.o: ../cryptlib.h |
480 | i2d_dsap.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 560 | i2d_dsap.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
481 | i2d_dsap.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 561 | i2d_dsap.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
482 | i2d_dsap.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 562 | i2d_dsap.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
483 | i2d_dsap.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 563 | i2d_dsap.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
484 | i2d_dsap.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 564 | i2d_dsap.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
485 | i2d_dsap.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 565 | i2d_dsap.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
566 | i2d_dsap.o: ../../include/openssl/opensslconf.h | ||
486 | i2d_dsap.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 567 | i2d_dsap.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
487 | i2d_dsap.o: ../../include/openssl/stack.h ../cryptlib.h | 568 | i2d_dsap.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
569 | i2d_dsap.o: ../cryptlib.h | ||
488 | i2d_pr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 570 | i2d_pr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
489 | i2d_pr.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 571 | i2d_pr.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
490 | i2d_pr.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | 572 | i2d_pr.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
@@ -492,14 +574,16 @@ i2d_pr.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | |||
492 | i2d_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 574 | i2d_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
493 | i2d_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 575 | i2d_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
494 | i2d_pr.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 576 | i2d_pr.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
495 | i2d_pr.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 577 | i2d_pr.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
578 | i2d_pr.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
496 | i2d_pr.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 579 | i2d_pr.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
497 | i2d_pr.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 580 | i2d_pr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
498 | i2d_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h | 581 | i2d_pr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
499 | i2d_pr.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 582 | i2d_pr.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
500 | i2d_pr.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 583 | i2d_pr.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
501 | i2d_pr.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 584 | i2d_pr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
502 | i2d_pr.o: ../../include/openssl/stack.h ../cryptlib.h | 585 | i2d_pr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
586 | i2d_pr.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
503 | i2d_pu.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 587 | i2d_pu.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
504 | i2d_pu.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 588 | i2d_pu.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
505 | i2d_pu.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | 589 | i2d_pu.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
@@ -507,50 +591,58 @@ i2d_pu.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | |||
507 | i2d_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 591 | i2d_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
508 | i2d_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 592 | i2d_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
509 | i2d_pu.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 593 | i2d_pu.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
510 | i2d_pu.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 594 | i2d_pu.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
595 | i2d_pu.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
511 | i2d_pu.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 596 | i2d_pu.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
512 | i2d_pu.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 597 | i2d_pu.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
513 | i2d_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h | 598 | i2d_pu.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
514 | i2d_pu.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 599 | i2d_pu.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
515 | i2d_pu.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 600 | i2d_pu.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
516 | i2d_pu.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 601 | i2d_pu.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
517 | i2d_pu.o: ../../include/openssl/stack.h ../cryptlib.h | 602 | i2d_pu.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
603 | i2d_pu.o: ../../include/openssl/symhacks.h ../cryptlib.h | ||
518 | i2d_r_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 604 | i2d_r_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
519 | i2d_r_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 605 | i2d_r_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
520 | i2d_r_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 606 | i2d_r_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
521 | i2d_r_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 607 | i2d_r_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
522 | i2d_r_pr.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 608 | i2d_r_pr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
609 | i2d_r_pr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
523 | i2d_r_pr.o: ../../include/openssl/opensslconf.h | 610 | i2d_r_pr.o: ../../include/openssl/opensslconf.h |
524 | i2d_r_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h | 611 | i2d_r_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h |
525 | i2d_r_pr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 612 | i2d_r_pr.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
526 | i2d_r_pr.o: ../cryptlib.h | 613 | i2d_r_pr.o: ../../include/openssl/symhacks.h ../cryptlib.h |
527 | i2d_r_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 614 | i2d_r_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
528 | i2d_r_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 615 | i2d_r_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
529 | i2d_r_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 616 | i2d_r_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
530 | i2d_r_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 617 | i2d_r_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
531 | i2d_r_pu.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 618 | i2d_r_pu.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
619 | i2d_r_pu.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
532 | i2d_r_pu.o: ../../include/openssl/opensslconf.h | 620 | i2d_r_pu.o: ../../include/openssl/opensslconf.h |
533 | i2d_r_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h | 621 | i2d_r_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h |
534 | i2d_r_pu.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 622 | i2d_r_pu.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
535 | i2d_r_pu.o: ../cryptlib.h | 623 | i2d_r_pu.o: ../../include/openssl/symhacks.h ../cryptlib.h |
536 | i2d_s_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 624 | i2d_s_pr.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
537 | i2d_s_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 625 | i2d_s_pr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
538 | i2d_s_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 626 | i2d_s_pr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
539 | i2d_s_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 627 | i2d_s_pr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
540 | i2d_s_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 628 | i2d_s_pr.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
541 | i2d_s_pr.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 629 | i2d_s_pr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
630 | i2d_s_pr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
542 | i2d_s_pr.o: ../../include/openssl/opensslconf.h | 631 | i2d_s_pr.o: ../../include/openssl/opensslconf.h |
543 | i2d_s_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 632 | i2d_s_pr.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
544 | i2d_s_pr.o: ../../include/openssl/stack.h ../cryptlib.h | 633 | i2d_s_pr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
634 | i2d_s_pr.o: ../cryptlib.h | ||
545 | i2d_s_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 635 | i2d_s_pu.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
546 | i2d_s_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 636 | i2d_s_pu.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
547 | i2d_s_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 637 | i2d_s_pu.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
548 | i2d_s_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 638 | i2d_s_pu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
549 | i2d_s_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 639 | i2d_s_pu.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
550 | i2d_s_pu.o: ../../include/openssl/err.h ../../include/openssl/objects.h | 640 | i2d_s_pu.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
641 | i2d_s_pu.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
551 | i2d_s_pu.o: ../../include/openssl/opensslconf.h | 642 | i2d_s_pu.o: ../../include/openssl/opensslconf.h |
552 | i2d_s_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 643 | i2d_s_pu.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
553 | i2d_s_pu.o: ../../include/openssl/stack.h ../cryptlib.h | 644 | i2d_s_pu.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
645 | i2d_s_pu.o: ../cryptlib.h | ||
554 | n_pkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 646 | n_pkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
555 | n_pkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 647 | n_pkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
556 | n_pkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 648 | n_pkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -559,31 +651,35 @@ n_pkey.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
559 | n_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 651 | n_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
560 | n_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 652 | n_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
561 | n_pkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 653 | n_pkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
562 | n_pkey.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 654 | n_pkey.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
563 | n_pkey.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 655 | n_pkey.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
564 | n_pkey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 656 | n_pkey.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
565 | n_pkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 657 | n_pkey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
566 | n_pkey.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 658 | n_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
567 | n_pkey.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 659 | n_pkey.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
568 | n_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 660 | n_pkey.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
569 | n_pkey.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 661 | n_pkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
662 | n_pkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
663 | n_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
570 | n_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 664 | n_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
571 | nsseq.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 665 | nsseq.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
572 | nsseq.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 666 | nsseq.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
573 | nsseq.o: ../../include/openssl/bn.h ../../include/openssl/cast.h | 667 | nsseq.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
574 | nsseq.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 668 | nsseq.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h |
575 | nsseq.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 669 | nsseq.o: ../../include/openssl/des.h ../../include/openssl/dh.h |
576 | nsseq.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 670 | nsseq.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
577 | nsseq.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 671 | nsseq.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
578 | nsseq.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 672 | nsseq.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
579 | nsseq.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 673 | nsseq.o: ../../include/openssl/md2.h ../../include/openssl/md4.h |
674 | nsseq.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | ||
675 | nsseq.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
580 | nsseq.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 676 | nsseq.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
581 | nsseq.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 677 | nsseq.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
582 | nsseq.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 678 | nsseq.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
583 | nsseq.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 679 | nsseq.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
584 | nsseq.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 680 | nsseq.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
585 | nsseq.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 681 | nsseq.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
586 | nsseq.o: ../../include/openssl/x509_vfy.h | 682 | nsseq.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
587 | p5_pbe.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 683 | p5_pbe.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
588 | p5_pbe.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 684 | p5_pbe.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
589 | p5_pbe.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 685 | p5_pbe.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -592,14 +688,16 @@ p5_pbe.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
592 | p5_pbe.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 688 | p5_pbe.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
593 | p5_pbe.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 689 | p5_pbe.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
594 | p5_pbe.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 690 | p5_pbe.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
595 | p5_pbe.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 691 | p5_pbe.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
596 | p5_pbe.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 692 | p5_pbe.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
597 | p5_pbe.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 693 | p5_pbe.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
598 | p5_pbe.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | 694 | p5_pbe.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
599 | p5_pbe.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 695 | p5_pbe.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
600 | p5_pbe.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 696 | p5_pbe.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h |
601 | p5_pbe.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 697 | p5_pbe.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
602 | p5_pbe.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 698 | p5_pbe.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
699 | p5_pbe.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
700 | p5_pbe.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
603 | p5_pbe.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 701 | p5_pbe.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
604 | p5_pbe.o: ../cryptlib.h | 702 | p5_pbe.o: ../cryptlib.h |
605 | p5_pbev2.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 703 | p5_pbev2.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
@@ -610,16 +708,18 @@ p5_pbev2.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
610 | p5_pbev2.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 708 | p5_pbev2.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
611 | p5_pbev2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 709 | p5_pbev2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
612 | p5_pbev2.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 710 | p5_pbev2.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
613 | p5_pbev2.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 711 | p5_pbev2.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
614 | p5_pbev2.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 712 | p5_pbev2.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
615 | p5_pbev2.o: ../../include/openssl/opensslconf.h | 713 | p5_pbev2.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
714 | p5_pbev2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
616 | p5_pbev2.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 715 | p5_pbev2.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
617 | p5_pbev2.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h | 716 | p5_pbev2.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h |
618 | p5_pbev2.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 717 | p5_pbev2.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
619 | p5_pbev2.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 718 | p5_pbev2.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
620 | p5_pbev2.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 719 | p5_pbev2.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
621 | p5_pbev2.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 720 | p5_pbev2.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
622 | p5_pbev2.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 721 | p5_pbev2.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
722 | p5_pbev2.o: ../cryptlib.h | ||
623 | p7_dgst.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 723 | p7_dgst.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
624 | p7_dgst.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 724 | p7_dgst.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
625 | p7_dgst.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 725 | p7_dgst.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -628,14 +728,16 @@ p7_dgst.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
628 | p7_dgst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 728 | p7_dgst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
629 | p7_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 729 | p7_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
630 | p7_dgst.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 730 | p7_dgst.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
631 | p7_dgst.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 731 | p7_dgst.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
632 | p7_dgst.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 732 | p7_dgst.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
633 | p7_dgst.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 733 | p7_dgst.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
634 | p7_dgst.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 734 | p7_dgst.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
635 | p7_dgst.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 735 | p7_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
636 | p7_dgst.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 736 | p7_dgst.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
637 | p7_dgst.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 737 | p7_dgst.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
638 | p7_dgst.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 738 | p7_dgst.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
739 | p7_dgst.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
740 | p7_dgst.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
639 | p7_dgst.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 741 | p7_dgst.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
640 | p7_enc.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 742 | p7_enc.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
641 | p7_enc.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 743 | p7_enc.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -645,14 +747,16 @@ p7_enc.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
645 | p7_enc.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 747 | p7_enc.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
646 | p7_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 748 | p7_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
647 | p7_enc.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 749 | p7_enc.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
648 | p7_enc.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 750 | p7_enc.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
649 | p7_enc.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 751 | p7_enc.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
650 | p7_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 752 | p7_enc.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
651 | p7_enc.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 753 | p7_enc.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
652 | p7_enc.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 754 | p7_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
653 | p7_enc.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 755 | p7_enc.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
654 | p7_enc.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 756 | p7_enc.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
655 | p7_enc.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 757 | p7_enc.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
758 | p7_enc.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
759 | p7_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
656 | p7_enc.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 760 | p7_enc.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
657 | p7_enc_c.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 761 | p7_enc_c.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
658 | p7_enc_c.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 762 | p7_enc_c.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -662,16 +766,17 @@ p7_enc_c.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
662 | p7_enc_c.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 766 | p7_enc_c.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
663 | p7_enc_c.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 767 | p7_enc_c.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
664 | p7_enc_c.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 768 | p7_enc_c.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
665 | p7_enc_c.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 769 | p7_enc_c.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
666 | p7_enc_c.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 770 | p7_enc_c.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
667 | p7_enc_c.o: ../../include/openssl/opensslconf.h | 771 | p7_enc_c.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
772 | p7_enc_c.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
668 | p7_enc_c.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 773 | p7_enc_c.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
669 | p7_enc_c.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 774 | p7_enc_c.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
670 | p7_enc_c.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 775 | p7_enc_c.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
671 | p7_enc_c.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 776 | p7_enc_c.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
672 | p7_enc_c.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 777 | p7_enc_c.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
673 | p7_enc_c.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 778 | p7_enc_c.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
674 | p7_enc_c.o: ../cryptlib.h | 779 | p7_enc_c.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
675 | p7_evp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 780 | p7_evp.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
676 | p7_evp.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 781 | p7_evp.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
677 | p7_evp.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 782 | p7_evp.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -680,14 +785,16 @@ p7_evp.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
680 | p7_evp.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 785 | p7_evp.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
681 | p7_evp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 786 | p7_evp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
682 | p7_evp.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 787 | p7_evp.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
683 | p7_evp.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 788 | p7_evp.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
684 | p7_evp.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 789 | p7_evp.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
685 | p7_evp.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 790 | p7_evp.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
686 | p7_evp.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 791 | p7_evp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
687 | p7_evp.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 792 | p7_evp.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
688 | p7_evp.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 793 | p7_evp.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
689 | p7_evp.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 794 | p7_evp.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
690 | p7_evp.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 795 | p7_evp.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
796 | p7_evp.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
797 | p7_evp.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
691 | p7_evp.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 798 | p7_evp.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
692 | p7_i_s.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 799 | p7_i_s.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
693 | p7_i_s.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 800 | p7_i_s.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -697,14 +804,16 @@ p7_i_s.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
697 | p7_i_s.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 804 | p7_i_s.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
698 | p7_i_s.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 805 | p7_i_s.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
699 | p7_i_s.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 806 | p7_i_s.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
700 | p7_i_s.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 807 | p7_i_s.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
701 | p7_i_s.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 808 | p7_i_s.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
702 | p7_i_s.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 809 | p7_i_s.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
703 | p7_i_s.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 810 | p7_i_s.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
704 | p7_i_s.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 811 | p7_i_s.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
705 | p7_i_s.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 812 | p7_i_s.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
706 | p7_i_s.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 813 | p7_i_s.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
707 | p7_i_s.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 814 | p7_i_s.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
815 | p7_i_s.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
816 | p7_i_s.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
708 | p7_i_s.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 817 | p7_i_s.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
709 | p7_lib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 818 | p7_lib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
710 | p7_lib.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 819 | p7_lib.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -714,14 +823,16 @@ p7_lib.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
714 | p7_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 823 | p7_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
715 | p7_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 824 | p7_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
716 | p7_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 825 | p7_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
717 | p7_lib.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 826 | p7_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
718 | p7_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 827 | p7_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
719 | p7_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 828 | p7_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
720 | p7_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 829 | p7_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
721 | p7_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 830 | p7_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
722 | p7_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 831 | p7_lib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
723 | p7_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 832 | p7_lib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
724 | p7_lib.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 833 | p7_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
834 | p7_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
835 | p7_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
725 | p7_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 836 | p7_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
726 | p7_recip.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 837 | p7_recip.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
727 | p7_recip.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 838 | p7_recip.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -731,16 +842,17 @@ p7_recip.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
731 | p7_recip.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 842 | p7_recip.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
732 | p7_recip.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 843 | p7_recip.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
733 | p7_recip.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 844 | p7_recip.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
734 | p7_recip.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 845 | p7_recip.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
735 | p7_recip.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 846 | p7_recip.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
736 | p7_recip.o: ../../include/openssl/opensslconf.h | 847 | p7_recip.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
848 | p7_recip.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
737 | p7_recip.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 849 | p7_recip.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
738 | p7_recip.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 850 | p7_recip.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
739 | p7_recip.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 851 | p7_recip.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
740 | p7_recip.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 852 | p7_recip.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
741 | p7_recip.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 853 | p7_recip.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
742 | p7_recip.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 854 | p7_recip.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
743 | p7_recip.o: ../cryptlib.h | 855 | p7_recip.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
744 | p7_s_e.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 856 | p7_s_e.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
745 | p7_s_e.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 857 | p7_s_e.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
746 | p7_s_e.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 858 | p7_s_e.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -749,14 +861,16 @@ p7_s_e.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
749 | p7_s_e.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 861 | p7_s_e.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
750 | p7_s_e.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 862 | p7_s_e.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
751 | p7_s_e.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 863 | p7_s_e.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
752 | p7_s_e.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 864 | p7_s_e.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
753 | p7_s_e.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 865 | p7_s_e.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
754 | p7_s_e.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 866 | p7_s_e.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
755 | p7_s_e.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 867 | p7_s_e.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
756 | p7_s_e.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 868 | p7_s_e.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
757 | p7_s_e.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 869 | p7_s_e.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
758 | p7_s_e.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 870 | p7_s_e.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
759 | p7_s_e.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 871 | p7_s_e.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
872 | p7_s_e.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
873 | p7_s_e.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
760 | p7_s_e.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 874 | p7_s_e.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
761 | p7_signd.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 875 | p7_signd.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
762 | p7_signd.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 876 | p7_signd.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -766,16 +880,17 @@ p7_signd.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
766 | p7_signd.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 880 | p7_signd.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
767 | p7_signd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 881 | p7_signd.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
768 | p7_signd.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 882 | p7_signd.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
769 | p7_signd.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 883 | p7_signd.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
770 | p7_signd.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 884 | p7_signd.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
771 | p7_signd.o: ../../include/openssl/opensslconf.h | 885 | p7_signd.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
886 | p7_signd.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
772 | p7_signd.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 887 | p7_signd.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
773 | p7_signd.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 888 | p7_signd.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
774 | p7_signd.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 889 | p7_signd.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
775 | p7_signd.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 890 | p7_signd.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
776 | p7_signd.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 891 | p7_signd.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
777 | p7_signd.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 892 | p7_signd.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
778 | p7_signd.o: ../cryptlib.h | 893 | p7_signd.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
779 | p7_signi.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 894 | p7_signi.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
780 | p7_signi.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 895 | p7_signi.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
781 | p7_signi.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 896 | p7_signi.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -784,16 +899,17 @@ p7_signi.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
784 | p7_signi.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 899 | p7_signi.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
785 | p7_signi.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 900 | p7_signi.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
786 | p7_signi.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 901 | p7_signi.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
787 | p7_signi.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 902 | p7_signi.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
788 | p7_signi.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 903 | p7_signi.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
789 | p7_signi.o: ../../include/openssl/opensslconf.h | 904 | p7_signi.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
905 | p7_signi.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
790 | p7_signi.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 906 | p7_signi.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
791 | p7_signi.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 907 | p7_signi.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
792 | p7_signi.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 908 | p7_signi.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
793 | p7_signi.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 909 | p7_signi.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
794 | p7_signi.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 910 | p7_signi.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
795 | p7_signi.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 911 | p7_signi.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
796 | p7_signi.o: ../cryptlib.h | 912 | p7_signi.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
797 | p8_pkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 913 | p8_pkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
798 | p8_pkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 914 | p8_pkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
799 | p8_pkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 915 | p8_pkey.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -802,14 +918,16 @@ p8_pkey.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
802 | p8_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 918 | p8_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
803 | p8_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 919 | p8_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
804 | p8_pkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 920 | p8_pkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
805 | p8_pkey.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 921 | p8_pkey.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
806 | p8_pkey.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 922 | p8_pkey.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
807 | p8_pkey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 923 | p8_pkey.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
808 | p8_pkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 924 | p8_pkey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
809 | p8_pkey.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 925 | p8_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
810 | p8_pkey.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 926 | p8_pkey.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
811 | p8_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 927 | p8_pkey.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
812 | p8_pkey.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 928 | p8_pkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
929 | p8_pkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
930 | p8_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
813 | p8_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 931 | p8_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
814 | t_bitst.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 932 | t_bitst.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
815 | t_bitst.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 933 | t_bitst.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
@@ -817,16 +935,18 @@ t_bitst.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
817 | t_bitst.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | 935 | t_bitst.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h |
818 | t_bitst.o: ../../include/openssl/des.h ../../include/openssl/dh.h | 936 | t_bitst.o: ../../include/openssl/des.h ../../include/openssl/dh.h |
819 | t_bitst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 937 | t_bitst.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
820 | t_bitst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 938 | t_bitst.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
821 | t_bitst.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 939 | t_bitst.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
822 | t_bitst.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | 940 | t_bitst.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
941 | t_bitst.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
823 | t_bitst.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 942 | t_bitst.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
824 | t_bitst.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 943 | t_bitst.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
825 | t_bitst.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 944 | t_bitst.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
826 | t_bitst.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 945 | t_bitst.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
827 | t_bitst.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 946 | t_bitst.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
828 | t_bitst.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 947 | t_bitst.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
829 | t_bitst.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 948 | t_bitst.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
949 | t_bitst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
830 | t_bitst.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 950 | t_bitst.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
831 | t_bitst.o: ../../include/openssl/x509v3.h ../cryptlib.h | 951 | t_bitst.o: ../../include/openssl/x509v3.h ../cryptlib.h |
832 | t_crl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 952 | t_crl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
@@ -835,25 +955,28 @@ t_crl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
835 | t_crl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | 955 | t_crl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h |
836 | t_crl.o: ../../include/openssl/des.h ../../include/openssl/dh.h | 956 | t_crl.o: ../../include/openssl/des.h ../../include/openssl/dh.h |
837 | t_crl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 957 | t_crl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
838 | t_crl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 958 | t_crl.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
839 | t_crl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 959 | t_crl.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
840 | t_crl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | 960 | t_crl.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
961 | t_crl.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
841 | t_crl.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 962 | t_crl.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
842 | t_crl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 963 | t_crl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
843 | t_crl.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 964 | t_crl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
844 | t_crl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 965 | t_crl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
845 | t_crl.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 966 | t_crl.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
846 | t_crl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 967 | t_crl.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
847 | t_crl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 968 | t_crl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
969 | t_crl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
848 | t_crl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 970 | t_crl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
849 | t_crl.o: ../../include/openssl/x509v3.h ../cryptlib.h | 971 | t_crl.o: ../../include/openssl/x509v3.h ../cryptlib.h |
850 | t_pkey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 972 | t_pkey.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
851 | t_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 973 | t_pkey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
852 | t_pkey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 974 | t_pkey.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
853 | t_pkey.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h | 975 | t_pkey.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
854 | t_pkey.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h | 976 | t_pkey.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
855 | t_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/rsa.h | 977 | t_pkey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
856 | t_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 978 | t_pkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
979 | t_pkey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
857 | t_pkey.o: ../cryptlib.h | 980 | t_pkey.o: ../cryptlib.h |
858 | t_req.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 981 | t_req.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
859 | t_req.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 982 | t_req.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
@@ -861,16 +984,18 @@ t_req.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
861 | t_req.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | 984 | t_req.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h |
862 | t_req.o: ../../include/openssl/des.h ../../include/openssl/dh.h | 985 | t_req.o: ../../include/openssl/des.h ../../include/openssl/dh.h |
863 | t_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 986 | t_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
864 | t_req.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 987 | t_req.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
865 | t_req.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 988 | t_req.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
866 | t_req.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | 989 | t_req.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
990 | t_req.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
867 | t_req.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 991 | t_req.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
868 | t_req.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 992 | t_req.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
869 | t_req.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 993 | t_req.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
870 | t_req.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 994 | t_req.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
871 | t_req.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 995 | t_req.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
872 | t_req.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 996 | t_req.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
873 | t_req.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 997 | t_req.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
998 | t_req.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
874 | t_req.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 999 | t_req.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
875 | t_req.o: ../../include/openssl/x509v3.h ../cryptlib.h | 1000 | t_req.o: ../../include/openssl/x509v3.h ../cryptlib.h |
876 | t_spki.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1001 | t_spki.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
@@ -881,14 +1006,16 @@ t_spki.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
881 | t_spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1006 | t_spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
882 | t_spki.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1007 | t_spki.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
883 | t_spki.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1008 | t_spki.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
884 | t_spki.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1009 | t_spki.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
885 | t_spki.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1010 | t_spki.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
886 | t_spki.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1011 | t_spki.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
887 | t_spki.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1012 | t_spki.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
888 | t_spki.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1013 | t_spki.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
889 | t_spki.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1014 | t_spki.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
890 | t_spki.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1015 | t_spki.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
891 | t_spki.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1016 | t_spki.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1017 | t_spki.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1018 | t_spki.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
892 | t_spki.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1019 | t_spki.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
893 | t_x509.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 1020 | t_x509.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
894 | t_x509.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 1021 | t_x509.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
@@ -896,16 +1023,18 @@ t_x509.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
896 | t_x509.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | 1023 | t_x509.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h |
897 | t_x509.o: ../../include/openssl/des.h ../../include/openssl/dh.h | 1024 | t_x509.o: ../../include/openssl/des.h ../../include/openssl/dh.h |
898 | t_x509.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1025 | t_x509.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
899 | t_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1026 | t_x509.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h |
900 | t_x509.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1027 | t_x509.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
901 | t_x509.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | 1028 | t_x509.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
1029 | t_x509.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | ||
902 | t_x509.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 1030 | t_x509.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
903 | t_x509.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 1031 | t_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
904 | t_x509.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 1032 | t_x509.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
905 | t_x509.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 1033 | t_x509.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
906 | t_x509.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 1034 | t_x509.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
907 | t_x509.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 1035 | t_x509.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
908 | t_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 1036 | t_x509.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
1037 | t_x509.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
909 | t_x509.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 1038 | t_x509.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
910 | t_x509.o: ../../include/openssl/x509v3.h ../cryptlib.h | 1039 | t_x509.o: ../../include/openssl/x509v3.h ../cryptlib.h |
911 | t_x509a.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1040 | t_x509a.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
@@ -916,14 +1045,16 @@ t_x509a.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
916 | t_x509a.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1045 | t_x509a.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
917 | t_x509a.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1046 | t_x509a.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
918 | t_x509a.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1047 | t_x509a.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
919 | t_x509a.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1048 | t_x509a.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
920 | t_x509a.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1049 | t_x509a.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
921 | t_x509a.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1050 | t_x509a.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
922 | t_x509a.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1051 | t_x509a.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
923 | t_x509a.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1052 | t_x509a.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
924 | t_x509a.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1053 | t_x509a.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
925 | t_x509a.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1054 | t_x509a.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
926 | t_x509a.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1055 | t_x509a.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1056 | t_x509a.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1057 | t_x509a.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
927 | t_x509a.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1058 | t_x509a.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
928 | x_algor.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1059 | x_algor.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
929 | x_algor.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1060 | x_algor.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -933,14 +1064,16 @@ x_algor.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
933 | x_algor.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1064 | x_algor.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
934 | x_algor.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1065 | x_algor.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
935 | x_algor.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1066 | x_algor.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
936 | x_algor.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1067 | x_algor.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
937 | x_algor.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1068 | x_algor.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
938 | x_algor.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1069 | x_algor.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
939 | x_algor.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1070 | x_algor.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
940 | x_algor.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1071 | x_algor.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
941 | x_algor.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1072 | x_algor.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
942 | x_algor.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1073 | x_algor.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
943 | x_algor.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1074 | x_algor.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1075 | x_algor.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1076 | x_algor.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
944 | x_algor.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1077 | x_algor.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
945 | x_attrib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1078 | x_attrib.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
946 | x_attrib.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1079 | x_attrib.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -950,16 +1083,17 @@ x_attrib.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
950 | x_attrib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1083 | x_attrib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
951 | x_attrib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1084 | x_attrib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
952 | x_attrib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1085 | x_attrib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
953 | x_attrib.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1086 | x_attrib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
954 | x_attrib.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1087 | x_attrib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
955 | x_attrib.o: ../../include/openssl/opensslconf.h | 1088 | x_attrib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1089 | x_attrib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
956 | x_attrib.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 1090 | x_attrib.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
957 | x_attrib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 1091 | x_attrib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
958 | x_attrib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 1092 | x_attrib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
959 | x_attrib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 1093 | x_attrib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
960 | x_attrib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 1094 | x_attrib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
961 | x_attrib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 1095 | x_attrib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
962 | x_attrib.o: ../cryptlib.h | 1096 | x_attrib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
963 | x_cinf.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1097 | x_cinf.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
964 | x_cinf.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1098 | x_cinf.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
965 | x_cinf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 1099 | x_cinf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -968,14 +1102,16 @@ x_cinf.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
968 | x_cinf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1102 | x_cinf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
969 | x_cinf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1103 | x_cinf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
970 | x_cinf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1104 | x_cinf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
971 | x_cinf.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1105 | x_cinf.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
972 | x_cinf.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1106 | x_cinf.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
973 | x_cinf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1107 | x_cinf.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
974 | x_cinf.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1108 | x_cinf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
975 | x_cinf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1109 | x_cinf.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
976 | x_cinf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1110 | x_cinf.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
977 | x_cinf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1111 | x_cinf.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
978 | x_cinf.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1112 | x_cinf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1113 | x_cinf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1114 | x_cinf.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
979 | x_cinf.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1115 | x_cinf.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
980 | x_crl.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1116 | x_crl.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
981 | x_crl.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1117 | x_crl.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -985,14 +1121,16 @@ x_crl.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
985 | x_crl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1121 | x_crl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
986 | x_crl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1122 | x_crl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
987 | x_crl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1123 | x_crl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
988 | x_crl.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1124 | x_crl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
989 | x_crl.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1125 | x_crl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
990 | x_crl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1126 | x_crl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
991 | x_crl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1127 | x_crl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
992 | x_crl.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1128 | x_crl.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
993 | x_crl.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1129 | x_crl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
994 | x_crl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1130 | x_crl.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
995 | x_crl.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1131 | x_crl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1132 | x_crl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1133 | x_crl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
996 | x_crl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1134 | x_crl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
997 | x_exten.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1135 | x_exten.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
998 | x_exten.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1136 | x_exten.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1002,14 +1140,16 @@ x_exten.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1002 | x_exten.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1140 | x_exten.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1003 | x_exten.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1141 | x_exten.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1004 | x_exten.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1142 | x_exten.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1005 | x_exten.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1143 | x_exten.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1006 | x_exten.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1144 | x_exten.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1007 | x_exten.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1145 | x_exten.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1008 | x_exten.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1146 | x_exten.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1009 | x_exten.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1147 | x_exten.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1010 | x_exten.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1148 | x_exten.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1011 | x_exten.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1149 | x_exten.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1012 | x_exten.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1150 | x_exten.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1151 | x_exten.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1152 | x_exten.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1013 | x_exten.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1153 | x_exten.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1014 | x_info.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1154 | x_info.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1015 | x_info.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1155 | x_info.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1019,14 +1159,16 @@ x_info.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1019 | x_info.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1159 | x_info.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1020 | x_info.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1160 | x_info.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1021 | x_info.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1161 | x_info.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1022 | x_info.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1162 | x_info.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1023 | x_info.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1163 | x_info.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1024 | x_info.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1164 | x_info.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1025 | x_info.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1165 | x_info.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1026 | x_info.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1166 | x_info.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1027 | x_info.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1167 | x_info.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1028 | x_info.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1168 | x_info.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1029 | x_info.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1169 | x_info.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1170 | x_info.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1171 | x_info.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1030 | x_info.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1172 | x_info.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1031 | x_name.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1173 | x_name.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1032 | x_name.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1174 | x_name.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1036,14 +1178,16 @@ x_name.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1036 | x_name.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1178 | x_name.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1037 | x_name.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1179 | x_name.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1038 | x_name.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1180 | x_name.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1039 | x_name.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1181 | x_name.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1040 | x_name.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1182 | x_name.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1041 | x_name.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1183 | x_name.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1042 | x_name.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1184 | x_name.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1043 | x_name.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1185 | x_name.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1044 | x_name.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1186 | x_name.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1045 | x_name.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1187 | x_name.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1046 | x_name.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1188 | x_name.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1189 | x_name.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1190 | x_name.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1047 | x_name.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1191 | x_name.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1048 | x_pkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1192 | x_pkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1049 | x_pkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1193 | x_pkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1053,14 +1197,16 @@ x_pkey.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1053 | x_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1197 | x_pkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1054 | x_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1198 | x_pkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1055 | x_pkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1199 | x_pkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1056 | x_pkey.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1200 | x_pkey.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1057 | x_pkey.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1201 | x_pkey.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1058 | x_pkey.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1202 | x_pkey.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1059 | x_pkey.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1203 | x_pkey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1060 | x_pkey.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1204 | x_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1061 | x_pkey.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1205 | x_pkey.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1062 | x_pkey.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1206 | x_pkey.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1063 | x_pkey.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1207 | x_pkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1208 | x_pkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1209 | x_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1064 | x_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1210 | x_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1065 | x_pubkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1211 | x_pubkey.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1066 | x_pubkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1212 | x_pubkey.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1070,16 +1216,17 @@ x_pubkey.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1070 | x_pubkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1216 | x_pubkey.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1071 | x_pubkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1217 | x_pubkey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1072 | x_pubkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1218 | x_pubkey.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1073 | x_pubkey.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1219 | x_pubkey.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1074 | x_pubkey.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1220 | x_pubkey.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1075 | x_pubkey.o: ../../include/openssl/opensslconf.h | 1221 | x_pubkey.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1222 | x_pubkey.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
1076 | x_pubkey.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h | 1223 | x_pubkey.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1077 | x_pubkey.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 1224 | x_pubkey.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1078 | x_pubkey.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 1225 | x_pubkey.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1079 | x_pubkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 1226 | x_pubkey.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1080 | x_pubkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 1227 | x_pubkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
1081 | x_pubkey.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 1228 | x_pubkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h |
1082 | x_pubkey.o: ../cryptlib.h | 1229 | x_pubkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1083 | x_req.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1230 | x_req.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1084 | x_req.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1231 | x_req.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
1085 | x_req.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 1232 | x_req.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -1088,14 +1235,16 @@ x_req.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1088 | x_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1235 | x_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1089 | x_req.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1236 | x_req.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1090 | x_req.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1237 | x_req.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1091 | x_req.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1238 | x_req.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1092 | x_req.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1239 | x_req.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1093 | x_req.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1240 | x_req.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1094 | x_req.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1241 | x_req.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1095 | x_req.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1242 | x_req.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1096 | x_req.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1243 | x_req.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1097 | x_req.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1244 | x_req.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1098 | x_req.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1245 | x_req.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1246 | x_req.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1247 | x_req.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1099 | x_req.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1248 | x_req.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1100 | x_sig.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1249 | x_sig.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1101 | x_sig.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1250 | x_sig.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1105,14 +1254,16 @@ x_sig.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1105 | x_sig.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1254 | x_sig.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1106 | x_sig.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1255 | x_sig.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1107 | x_sig.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1256 | x_sig.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1108 | x_sig.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1257 | x_sig.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1109 | x_sig.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1258 | x_sig.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1110 | x_sig.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1259 | x_sig.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1111 | x_sig.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1260 | x_sig.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1112 | x_sig.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1261 | x_sig.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1113 | x_sig.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1262 | x_sig.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1114 | x_sig.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1263 | x_sig.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1115 | x_sig.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1264 | x_sig.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1265 | x_sig.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1266 | x_sig.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1116 | x_sig.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1267 | x_sig.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1117 | x_spki.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1268 | x_spki.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1118 | x_spki.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1269 | x_spki.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1122,14 +1273,16 @@ x_spki.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1122 | x_spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1273 | x_spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1123 | x_spki.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1274 | x_spki.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1124 | x_spki.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1275 | x_spki.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1125 | x_spki.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1276 | x_spki.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1126 | x_spki.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1277 | x_spki.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1127 | x_spki.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1278 | x_spki.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1128 | x_spki.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1279 | x_spki.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1129 | x_spki.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1280 | x_spki.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1130 | x_spki.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1281 | x_spki.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1131 | x_spki.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1282 | x_spki.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1132 | x_spki.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1283 | x_spki.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1284 | x_spki.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1285 | x_spki.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1133 | x_spki.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1286 | x_spki.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1134 | x_val.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1287 | x_val.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1135 | x_val.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1288 | x_val.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
@@ -1139,32 +1292,38 @@ x_val.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1139 | x_val.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1292 | x_val.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1140 | x_val.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1293 | x_val.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1141 | x_val.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1294 | x_val.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1142 | x_val.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1295 | x_val.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1143 | x_val.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1296 | x_val.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1144 | x_val.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1297 | x_val.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1145 | x_val.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1298 | x_val.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1146 | x_val.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1299 | x_val.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1147 | x_val.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1300 | x_val.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1148 | x_val.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1301 | x_val.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1149 | x_val.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1302 | x_val.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1303 | x_val.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1304 | x_val.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1150 | x_val.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1305 | x_val.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
1151 | x_x509.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1306 | x_x509.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1152 | x_x509.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1307 | x_x509.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
1153 | x_x509.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 1308 | x_x509.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
1154 | x_x509.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h | 1309 | x_x509.o: ../../include/openssl/cast.h ../../include/openssl/conf.h |
1155 | x_x509.o: ../../include/openssl/des.h ../../include/openssl/dh.h | 1310 | x_x509.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
1156 | x_x509.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1311 | x_x509.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
1312 | x_x509.o: ../../include/openssl/e_os.h ../../include/openssl/e_os.h | ||
1157 | x_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1313 | x_x509.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1158 | x_x509.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1314 | x_x509.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1159 | x_x509.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1315 | x_x509.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1160 | x_x509.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1316 | x_x509.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1161 | x_x509.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1317 | x_x509.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1162 | x_x509.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1318 | x_x509.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1163 | x_x509.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1319 | x_x509.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1164 | x_x509.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1320 | x_x509.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1165 | x_x509.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1321 | x_x509.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1166 | x_x509.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1322 | x_x509.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1167 | x_x509.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1323 | x_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
1324 | x_x509.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1325 | x_x509.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h | ||
1326 | x_x509.o: ../cryptlib.h | ||
1168 | x_x509a.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h | 1327 | x_x509a.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h |
1169 | x_x509a.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 1328 | x_x509a.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
1170 | x_x509a.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 1329 | x_x509a.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
@@ -1173,12 +1332,14 @@ x_x509a.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
1173 | x_x509a.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h | 1332 | x_x509a.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h |
1174 | x_x509a.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 1333 | x_x509a.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
1175 | x_x509a.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 1334 | x_x509a.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
1176 | x_x509a.o: ../../include/openssl/md2.h ../../include/openssl/md5.h | 1335 | x_x509a.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
1177 | x_x509a.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h | 1336 | x_x509a.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
1178 | x_x509a.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 1337 | x_x509a.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
1179 | x_x509a.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h | 1338 | x_x509a.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
1180 | x_x509a.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 1339 | x_x509a.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h |
1181 | x_x509a.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 1340 | x_x509a.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
1182 | x_x509a.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 1341 | x_x509a.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
1183 | x_x509a.o: ../../include/openssl/stack.h ../../include/openssl/x509.h | 1342 | x_x509a.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
1343 | x_x509a.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
1344 | x_x509a.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
1184 | x_x509a.o: ../../include/openssl/x509_vfy.h ../cryptlib.h | 1345 | x_x509a.o: ../../include/openssl/x509_vfy.h ../cryptlib.h |
diff --git a/src/lib/libcrypto/asn1/a_bitstr.c b/src/lib/libcrypto/asn1/a_bitstr.c index c77456b315..7013a407ad 100644 --- a/src/lib/libcrypto/asn1/a_bitstr.c +++ b/src/lib/libcrypto/asn1/a_bitstr.c | |||
@@ -70,13 +70,27 @@ int ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len) | |||
70 | { return M_ASN1_BIT_STRING_set(x, d, len); } | 70 | { return M_ASN1_BIT_STRING_set(x, d, len); } |
71 | 71 | ||
72 | int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp) | 72 | int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp) |
73 | { | ||
74 | int len, ret; | ||
75 | len = i2c_ASN1_BIT_STRING(a, NULL); | ||
76 | ret=ASN1_object_size(0,len,V_ASN1_BIT_STRING); | ||
77 | if(pp) { | ||
78 | ASN1_put_object(pp,0,len,V_ASN1_BIT_STRING,V_ASN1_UNIVERSAL); | ||
79 | i2c_ASN1_BIT_STRING(a, pp); | ||
80 | } | ||
81 | return ret; | ||
82 | } | ||
83 | |||
84 | int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp) | ||
73 | { | 85 | { |
74 | int ret,j,r,bits,len; | 86 | int ret,j,bits,len; |
75 | unsigned char *p,*d; | 87 | unsigned char *p,*d; |
76 | 88 | ||
77 | if (a == NULL) return(0); | 89 | if (a == NULL) return(0); |
78 | 90 | ||
79 | len=a->length; | 91 | len=a->length; |
92 | ret=1+len; | ||
93 | if (pp == NULL) return(ret); | ||
80 | 94 | ||
81 | if (len > 0) | 95 | if (len > 0) |
82 | { | 96 | { |
@@ -104,36 +118,27 @@ int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp) | |||
104 | } | 118 | } |
105 | else | 119 | else |
106 | bits=0; | 120 | bits=0; |
107 | ret=1+len; | ||
108 | r=ASN1_object_size(0,ret,V_ASN1_BIT_STRING); | ||
109 | if (pp == NULL) return(r); | ||
110 | p= *pp; | 121 | p= *pp; |
111 | 122 | ||
112 | ASN1_put_object(&p,0,ret,V_ASN1_BIT_STRING,V_ASN1_UNIVERSAL); | ||
113 | *(p++)=(unsigned char)bits; | 123 | *(p++)=(unsigned char)bits; |
114 | d=a->data; | 124 | d=a->data; |
115 | memcpy(p,d,len); | 125 | memcpy(p,d,len); |
116 | p+=len; | 126 | p+=len; |
117 | if (len > 0) p[-1]&=(0xff<<bits); | 127 | if (len > 0) p[-1]&=(0xff<<bits); |
118 | *pp=p; | 128 | *pp=p; |
119 | return(r); | 129 | return(ret); |
120 | } | 130 | } |
121 | 131 | ||
132 | |||
133 | /* Convert DER encoded ASN1 BIT_STRING to ASN1_BIT_STRING structure */ | ||
122 | ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, | 134 | ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, |
123 | long length) | 135 | long length) |
124 | { | 136 | { |
125 | ASN1_BIT_STRING *ret=NULL; | 137 | unsigned char *p; |
126 | unsigned char *p,*s; | ||
127 | long len; | 138 | long len; |
128 | int inf,tag,xclass; | ||
129 | int i; | 139 | int i; |
130 | 140 | int inf,tag,xclass; | |
131 | if ((a == NULL) || ((*a) == NULL)) | 141 | ASN1_BIT_STRING *ret; |
132 | { | ||
133 | if ((ret=M_ASN1_BIT_STRING_new()) == NULL) return(NULL); | ||
134 | } | ||
135 | else | ||
136 | ret=(*a); | ||
137 | 142 | ||
138 | p= *pp; | 143 | p= *pp; |
139 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); | 144 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); |
@@ -149,7 +154,30 @@ ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, | |||
149 | goto err; | 154 | goto err; |
150 | } | 155 | } |
151 | if (len < 1) { i=ASN1_R_STRING_TOO_SHORT; goto err; } | 156 | if (len < 1) { i=ASN1_R_STRING_TOO_SHORT; goto err; } |
157 | ret = c2i_ASN1_BIT_STRING(a, &p, len); | ||
158 | if(ret) *pp = p; | ||
159 | return ret; | ||
160 | err: | ||
161 | ASN1err(ASN1_F_D2I_ASN1_BIT_STRING,i); | ||
162 | return(NULL); | ||
163 | |||
164 | } | ||
165 | |||
166 | ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, | ||
167 | long len) | ||
168 | { | ||
169 | ASN1_BIT_STRING *ret=NULL; | ||
170 | unsigned char *p,*s; | ||
171 | int i; | ||
172 | |||
173 | if ((a == NULL) || ((*a) == NULL)) | ||
174 | { | ||
175 | if ((ret=M_ASN1_BIT_STRING_new()) == NULL) return(NULL); | ||
176 | } | ||
177 | else | ||
178 | ret=(*a); | ||
152 | 179 | ||
180 | p= *pp; | ||
153 | i= *(p++); | 181 | i= *(p++); |
154 | /* We do this to preserve the settings. If we modify | 182 | /* We do this to preserve the settings. If we modify |
155 | * the settings, via the _set_bit function, we will recalculate | 183 | * the settings, via the _set_bit function, we will recalculate |
@@ -159,7 +187,7 @@ ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, | |||
159 | 187 | ||
160 | if (len-- > 1) /* using one because of the bits left byte */ | 188 | if (len-- > 1) /* using one because of the bits left byte */ |
161 | { | 189 | { |
162 | s=(unsigned char *)Malloc((int)len); | 190 | s=(unsigned char *)OPENSSL_malloc((int)len); |
163 | if (s == NULL) | 191 | if (s == NULL) |
164 | { | 192 | { |
165 | i=ERR_R_MALLOC_FAILURE; | 193 | i=ERR_R_MALLOC_FAILURE; |
@@ -173,7 +201,7 @@ ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, | |||
173 | s=NULL; | 201 | s=NULL; |
174 | 202 | ||
175 | ret->length=(int)len; | 203 | ret->length=(int)len; |
176 | if (ret->data != NULL) Free(ret->data); | 204 | if (ret->data != NULL) OPENSSL_free(ret->data); |
177 | ret->data=s; | 205 | ret->data=s; |
178 | ret->type=V_ASN1_BIT_STRING; | 206 | ret->type=V_ASN1_BIT_STRING; |
179 | if (a != NULL) (*a)=ret; | 207 | if (a != NULL) (*a)=ret; |
@@ -204,14 +232,14 @@ int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value) | |||
204 | { | 232 | { |
205 | if (!value) return(1); /* Don't need to set */ | 233 | if (!value) return(1); /* Don't need to set */ |
206 | if (a->data == NULL) | 234 | if (a->data == NULL) |
207 | c=(unsigned char *)Malloc(w+1); | 235 | c=(unsigned char *)OPENSSL_malloc(w+1); |
208 | else | 236 | else |
209 | c=(unsigned char *)Realloc(a->data,w+1); | 237 | c=(unsigned char *)OPENSSL_realloc(a->data,w+1); |
210 | if (c == NULL) return(0); | 238 | if (c == NULL) return(0); |
239 | if (w+1-a->length > 0) memset(c+a->length, 0, w+1-a->length); | ||
211 | a->data=c; | 240 | a->data=c; |
212 | a->length=w+1; | 241 | a->length=w+1; |
213 | c[w]=0; | 242 | } |
214 | } | ||
215 | a->data[w]=((a->data[w])&iv)|v; | 243 | a->data[w]=((a->data[w])&iv)|v; |
216 | while ((a->length > 0) && (a->data[a->length-1] == 0)) | 244 | while ((a->length > 0) && (a->data[a->length-1] == 0)) |
217 | a->length--; | 245 | a->length--; |
diff --git a/src/lib/libcrypto/asn1/a_bytes.c b/src/lib/libcrypto/asn1/a_bytes.c index 8cde695804..3a0c0c7835 100644 --- a/src/lib/libcrypto/asn1/a_bytes.c +++ b/src/lib/libcrypto/asn1/a_bytes.c | |||
@@ -111,7 +111,7 @@ ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, unsigned char **pp, | |||
111 | 111 | ||
112 | if (len != 0) | 112 | if (len != 0) |
113 | { | 113 | { |
114 | s=(unsigned char *)Malloc((int)len+1); | 114 | s=(unsigned char *)OPENSSL_malloc((int)len+1); |
115 | if (s == NULL) | 115 | if (s == NULL) |
116 | { | 116 | { |
117 | i=ERR_R_MALLOC_FAILURE; | 117 | i=ERR_R_MALLOC_FAILURE; |
@@ -124,7 +124,7 @@ ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, unsigned char **pp, | |||
124 | else | 124 | else |
125 | s=NULL; | 125 | s=NULL; |
126 | 126 | ||
127 | if (ret->data != NULL) Free(ret->data); | 127 | if (ret->data != NULL) OPENSSL_free(ret->data); |
128 | ret->length=(int)len; | 128 | ret->length=(int)len; |
129 | ret->data=s; | 129 | ret->data=s; |
130 | ret->type=tag; | 130 | ret->type=tag; |
@@ -218,8 +218,8 @@ ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, unsigned char **pp, long length, | |||
218 | { | 218 | { |
219 | if ((ret->length < len) || (ret->data == NULL)) | 219 | if ((ret->length < len) || (ret->data == NULL)) |
220 | { | 220 | { |
221 | if (ret->data != NULL) Free(ret->data); | 221 | if (ret->data != NULL) OPENSSL_free(ret->data); |
222 | s=(unsigned char *)Malloc((int)len + 1); | 222 | s=(unsigned char *)OPENSSL_malloc((int)len + 1); |
223 | if (s == NULL) | 223 | if (s == NULL) |
224 | { | 224 | { |
225 | i=ERR_R_MALLOC_FAILURE; | 225 | i=ERR_R_MALLOC_FAILURE; |
@@ -235,7 +235,7 @@ ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, unsigned char **pp, long length, | |||
235 | else | 235 | else |
236 | { | 236 | { |
237 | s=NULL; | 237 | s=NULL; |
238 | if (ret->data != NULL) Free(ret->data); | 238 | if (ret->data != NULL) OPENSSL_free(ret->data); |
239 | } | 239 | } |
240 | 240 | ||
241 | ret->length=(int)len; | 241 | ret->length=(int)len; |
@@ -310,14 +310,14 @@ static int asn1_collate_primitive(ASN1_STRING *a, ASN1_CTX *c) | |||
310 | if (!asn1_Finish(c)) goto err; | 310 | if (!asn1_Finish(c)) goto err; |
311 | 311 | ||
312 | a->length=num; | 312 | a->length=num; |
313 | if (a->data != NULL) Free(a->data); | 313 | if (a->data != NULL) OPENSSL_free(a->data); |
314 | a->data=(unsigned char *)b.data; | 314 | a->data=(unsigned char *)b.data; |
315 | if (os != NULL) ASN1_STRING_free(os); | 315 | if (os != NULL) ASN1_STRING_free(os); |
316 | return(1); | 316 | return(1); |
317 | err: | 317 | err: |
318 | ASN1err(ASN1_F_ASN1_COLLATE_PRIMITIVE,c->error); | 318 | ASN1err(ASN1_F_ASN1_COLLATE_PRIMITIVE,c->error); |
319 | if (os != NULL) ASN1_STRING_free(os); | 319 | if (os != NULL) ASN1_STRING_free(os); |
320 | if (b.data != NULL) Free(b.data); | 320 | if (b.data != NULL) OPENSSL_free(b.data); |
321 | return(0); | 321 | return(0); |
322 | } | 322 | } |
323 | 323 | ||
diff --git a/src/lib/libcrypto/asn1/a_digest.c b/src/lib/libcrypto/asn1/a_digest.c index 3370aae998..8257b8639e 100644 --- a/src/lib/libcrypto/asn1/a_digest.c +++ b/src/lib/libcrypto/asn1/a_digest.c | |||
@@ -77,14 +77,14 @@ int ASN1_digest(int (*i2d)(), const EVP_MD *type, char *data, | |||
77 | unsigned char *str,*p; | 77 | unsigned char *str,*p; |
78 | 78 | ||
79 | i=i2d(data,NULL); | 79 | i=i2d(data,NULL); |
80 | if ((str=(unsigned char *)Malloc(i)) == NULL) return(0); | 80 | if ((str=(unsigned char *)OPENSSL_malloc(i)) == NULL) return(0); |
81 | p=str; | 81 | p=str; |
82 | i2d(data,&p); | 82 | i2d(data,&p); |
83 | 83 | ||
84 | EVP_DigestInit(&ctx,type); | 84 | EVP_DigestInit(&ctx,type); |
85 | EVP_DigestUpdate(&ctx,str,i); | 85 | EVP_DigestUpdate(&ctx,str,i); |
86 | EVP_DigestFinal(&ctx,md,len); | 86 | EVP_DigestFinal(&ctx,md,len); |
87 | Free(str); | 87 | OPENSSL_free(str); |
88 | return(1); | 88 | return(1); |
89 | } | 89 | } |
90 | 90 | ||
diff --git a/src/lib/libcrypto/asn1/a_dup.c b/src/lib/libcrypto/asn1/a_dup.c index 3202a816d0..c3bda58a5d 100644 --- a/src/lib/libcrypto/asn1/a_dup.c +++ b/src/lib/libcrypto/asn1/a_dup.c | |||
@@ -71,13 +71,13 @@ char *ASN1_dup(int (*i2d)(), char *(*d2i)(), char *x) | |||
71 | if (x == NULL) return(NULL); | 71 | if (x == NULL) return(NULL); |
72 | 72 | ||
73 | i=(long)i2d(x,NULL); | 73 | i=(long)i2d(x,NULL); |
74 | b=(unsigned char *)Malloc((unsigned int)i+10); | 74 | b=(unsigned char *)OPENSSL_malloc((unsigned int)i+10); |
75 | if (b == NULL) | 75 | if (b == NULL) |
76 | { ASN1err(ASN1_F_ASN1_DUP,ERR_R_MALLOC_FAILURE); return(NULL); } | 76 | { ASN1err(ASN1_F_ASN1_DUP,ERR_R_MALLOC_FAILURE); return(NULL); } |
77 | p= b; | 77 | p= b; |
78 | i=i2d(x,&p); | 78 | i=i2d(x,&p); |
79 | p= b; | 79 | p= b; |
80 | ret=d2i(NULL,&p,i); | 80 | ret=d2i(NULL,&p,i); |
81 | Free(b); | 81 | OPENSSL_free(b); |
82 | return(ret); | 82 | return(ret); |
83 | } | 83 | } |
diff --git a/src/lib/libcrypto/asn1/a_enum.c b/src/lib/libcrypto/asn1/a_enum.c index ccf62e5a04..1428d1df7a 100644 --- a/src/lib/libcrypto/asn1/a_enum.c +++ b/src/lib/libcrypto/asn1/a_enum.c | |||
@@ -71,88 +71,28 @@ ASN1_ENUMERATED *ASN1_ENUMERATED_new(void) | |||
71 | void ASN1_ENUMERATED_free(ASN1_ENUMERATED *x) | 71 | void ASN1_ENUMERATED_free(ASN1_ENUMERATED *x) |
72 | { M_ASN1_ENUMERATED_free(x); } | 72 | { M_ASN1_ENUMERATED_free(x); } |
73 | 73 | ||
74 | int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a, unsigned char **pp) | ||
75 | { | ||
76 | int pad=0,ret,r,i,t; | ||
77 | unsigned char *p,*n,pb=0; | ||
78 | |||
79 | if ((a == NULL) || (a->data == NULL)) return(0); | ||
80 | t=a->type; | ||
81 | if (a->length == 0) | ||
82 | ret=1; | ||
83 | else | ||
84 | { | ||
85 | ret=a->length; | ||
86 | i=a->data[0]; | ||
87 | if ((t == V_ASN1_ENUMERATED) && (i > 127)) { | ||
88 | pad=1; | ||
89 | pb=0; | ||
90 | } else if(t == V_ASN1_NEG_ENUMERATED) { | ||
91 | if(i>128) { | ||
92 | pad=1; | ||
93 | pb=0xFF; | ||
94 | } else if(i == 128) { | ||
95 | for(i = 1; i < a->length; i++) if(a->data[i]) { | ||
96 | pad=1; | ||
97 | pb=0xFF; | ||
98 | break; | ||
99 | } | ||
100 | } | ||
101 | } | ||
102 | ret+=pad; | ||
103 | } | ||
104 | r=ASN1_object_size(0,ret,V_ASN1_ENUMERATED); | ||
105 | if (pp == NULL) return(r); | ||
106 | p= *pp; | ||
107 | |||
108 | ASN1_put_object(&p,0,ret,V_ASN1_ENUMERATED,V_ASN1_UNIVERSAL); | ||
109 | if (pad) *(p++)=pb; | ||
110 | if (a->length == 0) | ||
111 | *(p++)=0; | ||
112 | else if (t == V_ASN1_ENUMERATED) | ||
113 | { | ||
114 | memcpy(p,a->data,(unsigned int)a->length); | ||
115 | p+=a->length; | ||
116 | } | ||
117 | else { | ||
118 | /* Begin at the end of the encoding */ | ||
119 | n=a->data + a->length - 1; | ||
120 | p += a->length - 1; | ||
121 | i = a->length; | ||
122 | /* Copy zeros to destination as long as source is zero */ | ||
123 | while(!*n) { | ||
124 | *(p--) = 0; | ||
125 | n--; | ||
126 | i--; | ||
127 | } | ||
128 | /* Complement and increment next octet */ | ||
129 | *(p--) = ((*(n--)) ^ 0xff) + 1; | ||
130 | i--; | ||
131 | /* Complement any octets left */ | ||
132 | for(;i > 0; i--) *(p--) = *(n--) ^ 0xff; | ||
133 | p += a->length; | ||
134 | } | ||
135 | 74 | ||
136 | *pp=p; | 75 | int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a, unsigned char **pp) |
137 | return(r); | 76 | { |
77 | int len, ret; | ||
78 | if(!a) return 0; | ||
79 | len = i2c_ASN1_INTEGER(a, NULL); | ||
80 | ret=ASN1_object_size(0,len,V_ASN1_ENUMERATED); | ||
81 | if(pp) { | ||
82 | ASN1_put_object(pp,0,len,V_ASN1_ENUMERATED,V_ASN1_UNIVERSAL); | ||
83 | i2c_ASN1_INTEGER(a, pp); | ||
138 | } | 84 | } |
85 | return ret; | ||
86 | } | ||
139 | 87 | ||
140 | ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, unsigned char **pp, | 88 | ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, unsigned char **pp, |
141 | long length) | 89 | long length) |
142 | { | 90 | { |
143 | ASN1_ENUMERATED *ret=NULL; | 91 | unsigned char *p; |
144 | unsigned char *p,*to,*s; | ||
145 | long len; | 92 | long len; |
146 | int inf,tag,xclass; | ||
147 | int i; | 93 | int i; |
148 | 94 | int inf,tag,xclass; | |
149 | if ((a == NULL) || ((*a) == NULL)) | 95 | ASN1_ENUMERATED *ret; |
150 | { | ||
151 | if ((ret=M_ASN1_ENUMERATED_new()) == NULL) return(NULL); | ||
152 | ret->type=V_ASN1_ENUMERATED; | ||
153 | } | ||
154 | else | ||
155 | ret=(*a); | ||
156 | 96 | ||
157 | p= *pp; | 97 | p= *pp; |
158 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); | 98 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); |
@@ -167,70 +107,17 @@ ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, unsigned char **pp, | |||
167 | i=ASN1_R_EXPECTING_AN_ENUMERATED; | 107 | i=ASN1_R_EXPECTING_AN_ENUMERATED; |
168 | goto err; | 108 | goto err; |
169 | } | 109 | } |
170 | 110 | ret = c2i_ASN1_INTEGER(a, &p, len); | |
171 | /* We must Malloc stuff, even for 0 bytes otherwise it | 111 | if(ret) { |
172 | * signifies a missing NULL parameter. */ | 112 | ret->type = (V_ASN1_NEG & ret->type) | V_ASN1_ENUMERATED; |
173 | s=(unsigned char *)Malloc((int)len+1); | 113 | *pp = p; |
174 | if (s == NULL) | ||
175 | { | ||
176 | i=ERR_R_MALLOC_FAILURE; | ||
177 | goto err; | ||
178 | } | ||
179 | to=s; | ||
180 | if(!len) { | ||
181 | /* Strictly speaking this is an illegal ENUMERATED but we | ||
182 | * tolerate it. | ||
183 | */ | ||
184 | ret->type=V_ASN1_ENUMERATED; | ||
185 | } else if (*p & 0x80) /* a negative number */ | ||
186 | { | ||
187 | ret->type=V_ASN1_NEG_ENUMERATED; | ||
188 | if ((*p == 0xff) && (len != 1)) { | ||
189 | p++; | ||
190 | len--; | ||
191 | } | ||
192 | i = len; | ||
193 | p += i - 1; | ||
194 | to += i - 1; | ||
195 | while((!*p) && i) { | ||
196 | *(to--) = 0; | ||
197 | i--; | ||
198 | p--; | ||
199 | } | ||
200 | if(!i) { | ||
201 | *s = 1; | ||
202 | s[len] = 0; | ||
203 | p += len; | ||
204 | len++; | ||
205 | } else { | ||
206 | *(to--) = (*(p--) ^ 0xff) + 1; | ||
207 | i--; | ||
208 | for(;i > 0; i--) *(to--) = *(p--) ^ 0xff; | ||
209 | p += len; | ||
210 | } | ||
211 | } else { | ||
212 | ret->type=V_ASN1_ENUMERATED; | ||
213 | if ((*p == 0) && (len != 1)) | ||
214 | { | ||
215 | p++; | ||
216 | len--; | ||
217 | } | ||
218 | memcpy(s,p,(int)len); | ||
219 | p+=len; | ||
220 | } | 114 | } |
221 | 115 | return ret; | |
222 | if (ret->data != NULL) Free(ret->data); | ||
223 | ret->data=s; | ||
224 | ret->length=(int)len; | ||
225 | if (a != NULL) (*a)=ret; | ||
226 | *pp=p; | ||
227 | return(ret); | ||
228 | err: | 116 | err: |
229 | ASN1err(ASN1_F_D2I_ASN1_ENUMERATED,i); | 117 | ASN1err(ASN1_F_D2I_ASN1_ENUMERATED,i); |
230 | if ((ret != NULL) && ((a == NULL) || (*a != ret))) | ||
231 | M_ASN1_ENUMERATED_free(ret); | ||
232 | return(NULL); | 118 | return(NULL); |
233 | } | 119 | |
120 | } | ||
234 | 121 | ||
235 | int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v) | 122 | int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v) |
236 | { | 123 | { |
@@ -242,8 +129,8 @@ int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v) | |||
242 | if (a->length < (sizeof(long)+1)) | 129 | if (a->length < (sizeof(long)+1)) |
243 | { | 130 | { |
244 | if (a->data != NULL) | 131 | if (a->data != NULL) |
245 | Free(a->data); | 132 | OPENSSL_free(a->data); |
246 | if ((a->data=(unsigned char *)Malloc(sizeof(long)+1)) != NULL) | 133 | if ((a->data=(unsigned char *)OPENSSL_malloc(sizeof(long)+1)) != NULL) |
247 | memset((char *)a->data,0,sizeof(long)+1); | 134 | memset((char *)a->data,0,sizeof(long)+1); |
248 | } | 135 | } |
249 | if (a->data == NULL) | 136 | if (a->data == NULL) |
@@ -318,7 +205,7 @@ ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) | |||
318 | else ret->type=V_ASN1_ENUMERATED; | 205 | else ret->type=V_ASN1_ENUMERATED; |
319 | j=BN_num_bits(bn); | 206 | j=BN_num_bits(bn); |
320 | len=((j == 0)?0:((j/8)+1)); | 207 | len=((j == 0)?0:((j/8)+1)); |
321 | ret->data=(unsigned char *)Malloc(len+4); | 208 | ret->data=(unsigned char *)OPENSSL_malloc(len+4); |
322 | ret->length=BN_bn2bin(bn,ret->data); | 209 | ret->length=BN_bn2bin(bn,ret->data); |
323 | return(ret); | 210 | return(ret); |
324 | err: | 211 | err: |
@@ -332,6 +219,6 @@ BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn) | |||
332 | 219 | ||
333 | if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) | 220 | if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) |
334 | ASN1err(ASN1_F_ASN1_ENUMERATED_TO_BN,ASN1_R_BN_LIB); | 221 | ASN1err(ASN1_F_ASN1_ENUMERATED_TO_BN,ASN1_R_BN_LIB); |
335 | if(ai->type == V_ASN1_NEG_ENUMERATED) bn->neg = 1; | 222 | else if(ai->type == V_ASN1_NEG_ENUMERATED) ret->neg = 1; |
336 | return(ret); | 223 | return(ret); |
337 | } | 224 | } |
diff --git a/src/lib/libcrypto/asn1/a_gentm.c b/src/lib/libcrypto/asn1/a_gentm.c index 84062170e8..314479a03d 100644 --- a/src/lib/libcrypto/asn1/a_gentm.c +++ b/src/lib/libcrypto/asn1/a_gentm.c | |||
@@ -212,10 +212,10 @@ ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, | |||
212 | p=(char *)s->data; | 212 | p=(char *)s->data; |
213 | if ((p == NULL) || (s->length < 16)) | 213 | if ((p == NULL) || (s->length < 16)) |
214 | { | 214 | { |
215 | p=Malloc(20); | 215 | p=OPENSSL_malloc(20); |
216 | if (p == NULL) return(NULL); | 216 | if (p == NULL) return(NULL); |
217 | if (s->data != NULL) | 217 | if (s->data != NULL) |
218 | Free(s->data); | 218 | OPENSSL_free(s->data); |
219 | s->data=(unsigned char *)p; | 219 | s->data=(unsigned char *)p; |
220 | } | 220 | } |
221 | 221 | ||
diff --git a/src/lib/libcrypto/asn1/a_hdr.c b/src/lib/libcrypto/asn1/a_hdr.c index 434610e8e1..b1aad81f77 100644 --- a/src/lib/libcrypto/asn1/a_hdr.c +++ b/src/lib/libcrypto/asn1/a_hdr.c | |||
@@ -115,5 +115,5 @@ void ASN1_HEADER_free(ASN1_HEADER *a) | |||
115 | M_ASN1_OCTET_STRING_free(a->header); | 115 | M_ASN1_OCTET_STRING_free(a->header); |
116 | if (a->meth != NULL) | 116 | if (a->meth != NULL) |
117 | a->meth->destroy(a->data); | 117 | a->meth->destroy(a->data); |
118 | Free(a); | 118 | OPENSSL_free(a); |
119 | } | 119 | } |
diff --git a/src/lib/libcrypto/asn1/a_i2d_fp.c b/src/lib/libcrypto/asn1/a_i2d_fp.c index d9b8035e17..aee29a7790 100644 --- a/src/lib/libcrypto/asn1/a_i2d_fp.c +++ b/src/lib/libcrypto/asn1/a_i2d_fp.c | |||
@@ -86,7 +86,7 @@ int ASN1_i2d_bio(int (*i2d)(), BIO *out, unsigned char *x) | |||
86 | int i,j=0,n,ret=1; | 86 | int i,j=0,n,ret=1; |
87 | 87 | ||
88 | n=i2d(x,NULL); | 88 | n=i2d(x,NULL); |
89 | b=(char *)Malloc(n); | 89 | b=(char *)OPENSSL_malloc(n); |
90 | if (b == NULL) | 90 | if (b == NULL) |
91 | { | 91 | { |
92 | ASN1err(ASN1_F_ASN1_I2D_BIO,ERR_R_MALLOC_FAILURE); | 92 | ASN1err(ASN1_F_ASN1_I2D_BIO,ERR_R_MALLOC_FAILURE); |
@@ -108,6 +108,6 @@ int ASN1_i2d_bio(int (*i2d)(), BIO *out, unsigned char *x) | |||
108 | j+=i; | 108 | j+=i; |
109 | n-=i; | 109 | n-=i; |
110 | } | 110 | } |
111 | Free(b); | 111 | OPENSSL_free(b); |
112 | return(ret); | 112 | return(ret); |
113 | } | 113 | } |
diff --git a/src/lib/libcrypto/asn1/a_int.c b/src/lib/libcrypto/asn1/a_int.c index 8b6794e8c1..6f0413f885 100644 --- a/src/lib/libcrypto/asn1/a_int.c +++ b/src/lib/libcrypto/asn1/a_int.c | |||
@@ -72,8 +72,23 @@ ASN1_INTEGER *ASN1_INTEGER_dup(ASN1_INTEGER *x) | |||
72 | int ASN1_INTEGER_cmp(ASN1_INTEGER *x, ASN1_INTEGER *y) | 72 | int ASN1_INTEGER_cmp(ASN1_INTEGER *x, ASN1_INTEGER *y) |
73 | { return M_ASN1_INTEGER_cmp(x,y);} | 73 | { return M_ASN1_INTEGER_cmp(x,y);} |
74 | 74 | ||
75 | /* Output ASN1 INTEGER including tag+length */ | ||
76 | |||
77 | int i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) | ||
78 | { | ||
79 | int len, ret; | ||
80 | if(!a) return 0; | ||
81 | len = i2c_ASN1_INTEGER(a, NULL); | ||
82 | ret=ASN1_object_size(0,len,V_ASN1_INTEGER); | ||
83 | if(pp) { | ||
84 | ASN1_put_object(pp,0,len,V_ASN1_INTEGER,V_ASN1_UNIVERSAL); | ||
85 | i2c_ASN1_INTEGER(a, pp); | ||
86 | } | ||
87 | return ret; | ||
88 | } | ||
89 | |||
75 | /* | 90 | /* |
76 | * This converts an ASN1 INTEGER into its DER encoding. | 91 | * This converts an ASN1 INTEGER into its content encoding. |
77 | * The internal representation is an ASN1_STRING whose data is a big endian | 92 | * The internal representation is an ASN1_STRING whose data is a big endian |
78 | * representation of the value, ignoring the sign. The sign is determined by | 93 | * representation of the value, ignoring the sign. The sign is determined by |
79 | * the type: V_ASN1_INTEGER for positive and V_ASN1_NEG_INTEGER for negative. | 94 | * the type: V_ASN1_INTEGER for positive and V_ASN1_NEG_INTEGER for negative. |
@@ -97,23 +112,23 @@ int ASN1_INTEGER_cmp(ASN1_INTEGER *x, ASN1_INTEGER *y) | |||
97 | * followed by optional zeros isn't padded. | 112 | * followed by optional zeros isn't padded. |
98 | */ | 113 | */ |
99 | 114 | ||
100 | int i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) | 115 | int i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) |
101 | { | 116 | { |
102 | int pad=0,ret,r,i,t; | 117 | int pad=0,ret,i,neg; |
103 | unsigned char *p,*n,pb=0; | 118 | unsigned char *p,*n,pb=0; |
104 | 119 | ||
105 | if ((a == NULL) || (a->data == NULL)) return(0); | 120 | if ((a == NULL) || (a->data == NULL)) return(0); |
106 | t=a->type; | 121 | neg=a->type & V_ASN1_NEG; |
107 | if (a->length == 0) | 122 | if (a->length == 0) |
108 | ret=1; | 123 | ret=1; |
109 | else | 124 | else |
110 | { | 125 | { |
111 | ret=a->length; | 126 | ret=a->length; |
112 | i=a->data[0]; | 127 | i=a->data[0]; |
113 | if ((t == V_ASN1_INTEGER) && (i > 127)) { | 128 | if (!neg && (i > 127)) { |
114 | pad=1; | 129 | pad=1; |
115 | pb=0; | 130 | pb=0; |
116 | } else if(t == V_ASN1_NEG_INTEGER) { | 131 | } else if(neg) { |
117 | if(i>128) { | 132 | if(i>128) { |
118 | pad=1; | 133 | pad=1; |
119 | pb=0xFF; | 134 | pb=0xFF; |
@@ -131,14 +146,12 @@ int i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) | |||
131 | } | 146 | } |
132 | ret+=pad; | 147 | ret+=pad; |
133 | } | 148 | } |
134 | r=ASN1_object_size(0,ret,V_ASN1_INTEGER); | 149 | if (pp == NULL) return(ret); |
135 | if (pp == NULL) return(r); | ||
136 | p= *pp; | 150 | p= *pp; |
137 | 151 | ||
138 | ASN1_put_object(&p,0,ret,V_ASN1_INTEGER,V_ASN1_UNIVERSAL); | ||
139 | if (pad) *(p++)=pb; | 152 | if (pad) *(p++)=pb; |
140 | if (a->length == 0) *(p++)=0; | 153 | if (a->length == 0) *(p++)=0; |
141 | else if (t == V_ASN1_INTEGER) memcpy(p,a->data,(unsigned int)a->length); | 154 | else if (!neg) memcpy(p,a->data,(unsigned int)a->length); |
142 | else { | 155 | else { |
143 | /* Begin at the end of the encoding */ | 156 | /* Begin at the end of the encoding */ |
144 | n=a->data + a->length - 1; | 157 | n=a->data + a->length - 1; |
@@ -157,30 +170,22 @@ int i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) | |||
157 | for(;i > 0; i--) *(p--) = *(n--) ^ 0xff; | 170 | for(;i > 0; i--) *(p--) = *(n--) ^ 0xff; |
158 | } | 171 | } |
159 | 172 | ||
160 | *pp+=r; | 173 | *pp+=ret; |
161 | return(r); | 174 | return(ret); |
162 | } | 175 | } |
163 | 176 | ||
177 | /* Convert DER encoded ASN1 INTEGER to ASN1_INTEGER structure */ | ||
164 | ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, unsigned char **pp, | 178 | ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, unsigned char **pp, |
165 | long length) | 179 | long length) |
166 | { | 180 | { |
167 | ASN1_INTEGER *ret=NULL; | 181 | unsigned char *p; |
168 | unsigned char *p,*to,*s, *pend; | ||
169 | long len; | 182 | long len; |
170 | int inf,tag,xclass; | ||
171 | int i; | 183 | int i; |
172 | 184 | int inf,tag,xclass; | |
173 | if ((a == NULL) || ((*a) == NULL)) | 185 | ASN1_INTEGER *ret; |
174 | { | ||
175 | if ((ret=M_ASN1_INTEGER_new()) == NULL) return(NULL); | ||
176 | ret->type=V_ASN1_INTEGER; | ||
177 | } | ||
178 | else | ||
179 | ret=(*a); | ||
180 | 186 | ||
181 | p= *pp; | 187 | p= *pp; |
182 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); | 188 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); |
183 | pend = p + len; | ||
184 | if (inf & 0x80) | 189 | if (inf & 0x80) |
185 | { | 190 | { |
186 | i=ASN1_R_BAD_OBJECT_HEADER; | 191 | i=ASN1_R_BAD_OBJECT_HEADER; |
@@ -192,10 +197,39 @@ ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, unsigned char **pp, | |||
192 | i=ASN1_R_EXPECTING_AN_INTEGER; | 197 | i=ASN1_R_EXPECTING_AN_INTEGER; |
193 | goto err; | 198 | goto err; |
194 | } | 199 | } |
200 | ret = c2i_ASN1_INTEGER(a, &p, len); | ||
201 | if(ret) *pp = p; | ||
202 | return ret; | ||
203 | err: | ||
204 | ASN1err(ASN1_F_D2I_ASN1_INTEGER,i); | ||
205 | return(NULL); | ||
206 | |||
207 | } | ||
208 | |||
209 | |||
210 | /* Convert just ASN1 INTEGER content octets to ASN1_INTEGER structure */ | ||
211 | |||
212 | ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a, unsigned char **pp, | ||
213 | long len) | ||
214 | { | ||
215 | ASN1_INTEGER *ret=NULL; | ||
216 | unsigned char *p,*to,*s, *pend; | ||
217 | int i; | ||
218 | |||
219 | if ((a == NULL) || ((*a) == NULL)) | ||
220 | { | ||
221 | if ((ret=M_ASN1_INTEGER_new()) == NULL) return(NULL); | ||
222 | ret->type=V_ASN1_INTEGER; | ||
223 | } | ||
224 | else | ||
225 | ret=(*a); | ||
195 | 226 | ||
196 | /* We must Malloc stuff, even for 0 bytes otherwise it | 227 | p= *pp; |
228 | pend = p + len; | ||
229 | |||
230 | /* We must OPENSSL_malloc stuff, even for 0 bytes otherwise it | ||
197 | * signifies a missing NULL parameter. */ | 231 | * signifies a missing NULL parameter. */ |
198 | s=(unsigned char *)Malloc((int)len+1); | 232 | s=(unsigned char *)OPENSSL_malloc((int)len+1); |
199 | if (s == NULL) | 233 | if (s == NULL) |
200 | { | 234 | { |
201 | i=ERR_R_MALLOC_FAILURE; | 235 | i=ERR_R_MALLOC_FAILURE; |
@@ -248,7 +282,7 @@ ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, unsigned char **pp, | |||
248 | memcpy(s,p,(int)len); | 282 | memcpy(s,p,(int)len); |
249 | } | 283 | } |
250 | 284 | ||
251 | if (ret->data != NULL) Free(ret->data); | 285 | if (ret->data != NULL) OPENSSL_free(ret->data); |
252 | ret->data=s; | 286 | ret->data=s; |
253 | ret->length=(int)len; | 287 | ret->length=(int)len; |
254 | if (a != NULL) (*a)=ret; | 288 | if (a != NULL) (*a)=ret; |
@@ -261,6 +295,7 @@ err: | |||
261 | return(NULL); | 295 | return(NULL); |
262 | } | 296 | } |
263 | 297 | ||
298 | |||
264 | /* This is a version of d2i_ASN1_INTEGER that ignores the sign bit of | 299 | /* This is a version of d2i_ASN1_INTEGER that ignores the sign bit of |
265 | * ASN1 integers: some broken software can encode a positive INTEGER | 300 | * ASN1 integers: some broken software can encode a positive INTEGER |
266 | * with its MSB set as negative (it doesn't add a padding zero). | 301 | * with its MSB set as negative (it doesn't add a padding zero). |
@@ -297,9 +332,9 @@ ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, unsigned char **pp, | |||
297 | goto err; | 332 | goto err; |
298 | } | 333 | } |
299 | 334 | ||
300 | /* We must Malloc stuff, even for 0 bytes otherwise it | 335 | /* We must OPENSSL_malloc stuff, even for 0 bytes otherwise it |
301 | * signifies a missing NULL parameter. */ | 336 | * signifies a missing NULL parameter. */ |
302 | s=(unsigned char *)Malloc((int)len+1); | 337 | s=(unsigned char *)OPENSSL_malloc((int)len+1); |
303 | if (s == NULL) | 338 | if (s == NULL) |
304 | { | 339 | { |
305 | i=ERR_R_MALLOC_FAILURE; | 340 | i=ERR_R_MALLOC_FAILURE; |
@@ -317,7 +352,7 @@ ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, unsigned char **pp, | |||
317 | p+=len; | 352 | p+=len; |
318 | } | 353 | } |
319 | 354 | ||
320 | if (ret->data != NULL) Free(ret->data); | 355 | if (ret->data != NULL) OPENSSL_free(ret->data); |
321 | ret->data=s; | 356 | ret->data=s; |
322 | ret->length=(int)len; | 357 | ret->length=(int)len; |
323 | if (a != NULL) (*a)=ret; | 358 | if (a != NULL) (*a)=ret; |
@@ -340,8 +375,8 @@ int ASN1_INTEGER_set(ASN1_INTEGER *a, long v) | |||
340 | if (a->length < (sizeof(long)+1)) | 375 | if (a->length < (sizeof(long)+1)) |
341 | { | 376 | { |
342 | if (a->data != NULL) | 377 | if (a->data != NULL) |
343 | Free(a->data); | 378 | OPENSSL_free(a->data); |
344 | if ((a->data=(unsigned char *)Malloc(sizeof(long)+1)) != NULL) | 379 | if ((a->data=(unsigned char *)OPENSSL_malloc(sizeof(long)+1)) != NULL) |
345 | memset((char *)a->data,0,sizeof(long)+1); | 380 | memset((char *)a->data,0,sizeof(long)+1); |
346 | } | 381 | } |
347 | if (a->data == NULL) | 382 | if (a->data == NULL) |
@@ -416,7 +451,7 @@ ASN1_INTEGER *BN_to_ASN1_INTEGER(BIGNUM *bn, ASN1_INTEGER *ai) | |||
416 | else ret->type=V_ASN1_INTEGER; | 451 | else ret->type=V_ASN1_INTEGER; |
417 | j=BN_num_bits(bn); | 452 | j=BN_num_bits(bn); |
418 | len=((j == 0)?0:((j/8)+1)); | 453 | len=((j == 0)?0:((j/8)+1)); |
419 | ret->data=(unsigned char *)Malloc(len+4); | 454 | ret->data=(unsigned char *)OPENSSL_malloc(len+4); |
420 | ret->length=BN_bn2bin(bn,ret->data); | 455 | ret->length=BN_bn2bin(bn,ret->data); |
421 | return(ret); | 456 | return(ret); |
422 | err: | 457 | err: |
@@ -430,6 +465,9 @@ BIGNUM *ASN1_INTEGER_to_BN(ASN1_INTEGER *ai, BIGNUM *bn) | |||
430 | 465 | ||
431 | if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) | 466 | if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) |
432 | ASN1err(ASN1_F_ASN1_INTEGER_TO_BN,ASN1_R_BN_LIB); | 467 | ASN1err(ASN1_F_ASN1_INTEGER_TO_BN,ASN1_R_BN_LIB); |
433 | if(ai->type == V_ASN1_NEG_INTEGER) bn->neg = 1; | 468 | else if(ai->type == V_ASN1_NEG_INTEGER) ret->neg = 1; |
434 | return(ret); | 469 | return(ret); |
435 | } | 470 | } |
471 | |||
472 | IMPLEMENT_STACK_OF(ASN1_INTEGER) | ||
473 | IMPLEMENT_ASN1_SET_OF(ASN1_INTEGER) | ||
diff --git a/src/lib/libcrypto/asn1/a_mbstr.c b/src/lib/libcrypto/asn1/a_mbstr.c index 7a710d5459..5d981c6553 100644 --- a/src/lib/libcrypto/asn1/a_mbstr.c +++ b/src/lib/libcrypto/asn1/a_mbstr.c | |||
@@ -92,6 +92,7 @@ int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, | |||
92 | { | 92 | { |
93 | int str_type; | 93 | int str_type; |
94 | int ret; | 94 | int ret; |
95 | char free_out; | ||
95 | int outform, outlen; | 96 | int outform, outlen; |
96 | ASN1_STRING *dest; | 97 | ASN1_STRING *dest; |
97 | unsigned char *p; | 98 | unsigned char *p; |
@@ -180,14 +181,16 @@ int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, | |||
180 | } | 181 | } |
181 | if(!out) return str_type; | 182 | if(!out) return str_type; |
182 | if(*out) { | 183 | if(*out) { |
184 | free_out = 0; | ||
183 | dest = *out; | 185 | dest = *out; |
184 | if(dest->data) { | 186 | if(dest->data) { |
185 | dest->length = 0; | 187 | dest->length = 0; |
186 | Free(dest->data); | 188 | OPENSSL_free(dest->data); |
187 | dest->data = NULL; | 189 | dest->data = NULL; |
188 | } | 190 | } |
189 | dest->type = str_type; | 191 | dest->type = str_type; |
190 | } else { | 192 | } else { |
193 | free_out = 1; | ||
191 | dest = ASN1_STRING_type_new(str_type); | 194 | dest = ASN1_STRING_type_new(str_type); |
192 | if(!dest) { | 195 | if(!dest) { |
193 | ASN1err(ASN1_F_ASN1_MBSTRING_COPY, | 196 | ASN1err(ASN1_F_ASN1_MBSTRING_COPY, |
@@ -228,8 +231,8 @@ int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, | |||
228 | cpyfunc = cpy_utf8; | 231 | cpyfunc = cpy_utf8; |
229 | break; | 232 | break; |
230 | } | 233 | } |
231 | if(!(p = Malloc(outlen + 1))) { | 234 | if(!(p = OPENSSL_malloc(outlen + 1))) { |
232 | ASN1_STRING_free(dest); | 235 | if(free_out) ASN1_STRING_free(dest); |
233 | ASN1err(ASN1_F_ASN1_MBSTRING_COPY,ERR_R_MALLOC_FAILURE); | 236 | ASN1err(ASN1_F_ASN1_MBSTRING_COPY,ERR_R_MALLOC_FAILURE); |
234 | return -1; | 237 | return -1; |
235 | } | 238 | } |
@@ -258,8 +261,8 @@ static int traverse_string(const unsigned char *p, int len, int inform, | |||
258 | value |= *p++; | 261 | value |= *p++; |
259 | len -= 2; | 262 | len -= 2; |
260 | } else if(inform == MBSTRING_UNIV) { | 263 | } else if(inform == MBSTRING_UNIV) { |
261 | value = *p++ << 24; | 264 | value = ((unsigned long)*p++) << 24; |
262 | value |= *p++ << 16; | 265 | value |= ((unsigned long)*p++) << 16; |
263 | value |= *p++ << 8; | 266 | value |= *p++ << 8; |
264 | value |= *p++; | 267 | value |= *p++; |
265 | len -= 4; | 268 | len -= 4; |
@@ -382,9 +385,16 @@ static int is_printable(unsigned long value) | |||
382 | /* Note: we can't use 'isalnum' because certain accented | 385 | /* Note: we can't use 'isalnum' because certain accented |
383 | * characters may count as alphanumeric in some environments. | 386 | * characters may count as alphanumeric in some environments. |
384 | */ | 387 | */ |
388 | #ifndef CHARSET_EBCDIC | ||
385 | if((ch >= 'a') && (ch <= 'z')) return 1; | 389 | if((ch >= 'a') && (ch <= 'z')) return 1; |
386 | if((ch >= 'A') && (ch <= 'Z')) return 1; | 390 | if((ch >= 'A') && (ch <= 'Z')) return 1; |
387 | if((ch >= '0') && (ch <= '9')) return 1; | 391 | if((ch >= '0') && (ch <= '9')) return 1; |
388 | if ((ch == ' ') || strchr("'()+,-./:=?", ch)) return 1; | 392 | if ((ch == ' ') || strchr("'()+,-./:=?", ch)) return 1; |
393 | #else /*CHARSET_EBCDIC*/ | ||
394 | if((ch >= os_toascii['a']) && (ch <= os_toascii['z'])) return 1; | ||
395 | if((ch >= os_toascii['A']) && (ch <= os_toascii['Z'])) return 1; | ||
396 | if((ch >= os_toascii['0']) && (ch <= os_toascii['9'])) return 1; | ||
397 | if ((ch == os_toascii[' ']) || strchr("'()+,-./:=?", os_toebcdic[ch])) return 1; | ||
398 | #endif /*CHARSET_EBCDIC*/ | ||
389 | return 0; | 399 | return 0; |
390 | } | 400 | } |
diff --git a/src/lib/libcrypto/asn1/a_object.c b/src/lib/libcrypto/asn1/a_object.c index 09d56fb669..20caa2d3bd 100644 --- a/src/lib/libcrypto/asn1/a_object.c +++ b/src/lib/libcrypto/asn1/a_object.c | |||
@@ -65,11 +65,12 @@ | |||
65 | int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp) | 65 | int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp) |
66 | { | 66 | { |
67 | unsigned char *p; | 67 | unsigned char *p; |
68 | int objsize; | ||
68 | 69 | ||
69 | if ((a == NULL) || (a->data == NULL)) return(0); | 70 | if ((a == NULL) || (a->data == NULL)) return(0); |
70 | 71 | ||
71 | if (pp == NULL) | 72 | objsize = ASN1_object_size(0,a->length,V_ASN1_OBJECT); |
72 | return(ASN1_object_size(0,a->length,V_ASN1_OBJECT)); | 73 | if (pp == NULL) return objsize; |
73 | 74 | ||
74 | p= *pp; | 75 | p= *pp; |
75 | ASN1_put_object(&p,0,a->length,V_ASN1_OBJECT,V_ASN1_UNIVERSAL); | 76 | ASN1_put_object(&p,0,a->length,V_ASN1_OBJECT,V_ASN1_UNIVERSAL); |
@@ -77,7 +78,7 @@ int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp) | |||
77 | p+=a->length; | 78 | p+=a->length; |
78 | 79 | ||
79 | *pp=p; | 80 | *pp=p; |
80 | return(a->length); | 81 | return(objsize); |
81 | } | 82 | } |
82 | 83 | ||
83 | int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num) | 84 | int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num) |
@@ -190,24 +191,13 @@ int i2a_ASN1_OBJECT(BIO *bp, ASN1_OBJECT *a) | |||
190 | 191 | ||
191 | ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, unsigned char **pp, | 192 | ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, unsigned char **pp, |
192 | long length) | 193 | long length) |
193 | { | 194 | { |
194 | ASN1_OBJECT *ret=NULL; | ||
195 | unsigned char *p; | 195 | unsigned char *p; |
196 | long len; | 196 | long len; |
197 | int tag,xclass; | 197 | int tag,xclass; |
198 | int inf,i; | 198 | int inf,i; |
199 | 199 | ASN1_OBJECT *ret = NULL; | |
200 | /* only the ASN1_OBJECTs from the 'table' will have values | ||
201 | * for ->sn or ->ln */ | ||
202 | if ((a == NULL) || ((*a) == NULL) || | ||
203 | !((*a)->flags & ASN1_OBJECT_FLAG_DYNAMIC)) | ||
204 | { | ||
205 | if ((ret=ASN1_OBJECT_new()) == NULL) return(NULL); | ||
206 | } | ||
207 | else ret=(*a); | ||
208 | |||
209 | p= *pp; | 200 | p= *pp; |
210 | |||
211 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); | 201 | inf=ASN1_get_object(&p,&len,&tag,&xclass,length); |
212 | if (inf & 0x80) | 202 | if (inf & 0x80) |
213 | { | 203 | { |
@@ -220,10 +210,36 @@ ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, unsigned char **pp, | |||
220 | i=ASN1_R_EXPECTING_AN_OBJECT; | 210 | i=ASN1_R_EXPECTING_AN_OBJECT; |
221 | goto err; | 211 | goto err; |
222 | } | 212 | } |
213 | ret = c2i_ASN1_OBJECT(a, &p, len); | ||
214 | if(ret) *pp = p; | ||
215 | return ret; | ||
216 | err: | ||
217 | ASN1err(ASN1_F_D2I_ASN1_OBJECT,i); | ||
218 | if ((ret != NULL) && ((a == NULL) || (*a != ret))) | ||
219 | ASN1_OBJECT_free(ret); | ||
220 | return(NULL); | ||
221 | } | ||
222 | ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a, unsigned char **pp, | ||
223 | long len) | ||
224 | { | ||
225 | ASN1_OBJECT *ret=NULL; | ||
226 | unsigned char *p; | ||
227 | int i; | ||
228 | |||
229 | /* only the ASN1_OBJECTs from the 'table' will have values | ||
230 | * for ->sn or ->ln */ | ||
231 | if ((a == NULL) || ((*a) == NULL) || | ||
232 | !((*a)->flags & ASN1_OBJECT_FLAG_DYNAMIC)) | ||
233 | { | ||
234 | if ((ret=ASN1_OBJECT_new()) == NULL) return(NULL); | ||
235 | } | ||
236 | else ret=(*a); | ||
237 | |||
238 | p= *pp; | ||
223 | if ((ret->data == NULL) || (ret->length < len)) | 239 | if ((ret->data == NULL) || (ret->length < len)) |
224 | { | 240 | { |
225 | if (ret->data != NULL) Free(ret->data); | 241 | if (ret->data != NULL) OPENSSL_free(ret->data); |
226 | ret->data=(unsigned char *)Malloc(len ? (int)len : 1); | 242 | ret->data=(unsigned char *)OPENSSL_malloc(len ? (int)len : 1); |
227 | ret->flags|=ASN1_OBJECT_FLAG_DYNAMIC_DATA; | 243 | ret->flags|=ASN1_OBJECT_FLAG_DYNAMIC_DATA; |
228 | if (ret->data == NULL) | 244 | if (ret->data == NULL) |
229 | { i=ERR_R_MALLOC_FAILURE; goto err; } | 245 | { i=ERR_R_MALLOC_FAILURE; goto err; } |
@@ -249,7 +265,7 @@ ASN1_OBJECT *ASN1_OBJECT_new(void) | |||
249 | { | 265 | { |
250 | ASN1_OBJECT *ret; | 266 | ASN1_OBJECT *ret; |
251 | 267 | ||
252 | ret=(ASN1_OBJECT *)Malloc(sizeof(ASN1_OBJECT)); | 268 | ret=(ASN1_OBJECT *)OPENSSL_malloc(sizeof(ASN1_OBJECT)); |
253 | if (ret == NULL) | 269 | if (ret == NULL) |
254 | { | 270 | { |
255 | ASN1err(ASN1_F_ASN1_OBJECT_NEW,ERR_R_MALLOC_FAILURE); | 271 | ASN1err(ASN1_F_ASN1_OBJECT_NEW,ERR_R_MALLOC_FAILURE); |
@@ -270,19 +286,19 @@ void ASN1_OBJECT_free(ASN1_OBJECT *a) | |||
270 | if (a->flags & ASN1_OBJECT_FLAG_DYNAMIC_STRINGS) | 286 | if (a->flags & ASN1_OBJECT_FLAG_DYNAMIC_STRINGS) |
271 | { | 287 | { |
272 | #ifndef CONST_STRICT /* disable purely for compile-time strict const checking. Doing this on a "real" compile will cause memory leaks */ | 288 | #ifndef CONST_STRICT /* disable purely for compile-time strict const checking. Doing this on a "real" compile will cause memory leaks */ |
273 | if (a->sn != NULL) Free((void *)a->sn); | 289 | if (a->sn != NULL) OPENSSL_free((void *)a->sn); |
274 | if (a->ln != NULL) Free((void *)a->ln); | 290 | if (a->ln != NULL) OPENSSL_free((void *)a->ln); |
275 | #endif | 291 | #endif |
276 | a->sn=a->ln=NULL; | 292 | a->sn=a->ln=NULL; |
277 | } | 293 | } |
278 | if (a->flags & ASN1_OBJECT_FLAG_DYNAMIC_DATA) | 294 | if (a->flags & ASN1_OBJECT_FLAG_DYNAMIC_DATA) |
279 | { | 295 | { |
280 | if (a->data != NULL) Free(a->data); | 296 | if (a->data != NULL) OPENSSL_free(a->data); |
281 | a->data=NULL; | 297 | a->data=NULL; |
282 | a->length=0; | 298 | a->length=0; |
283 | } | 299 | } |
284 | if (a->flags & ASN1_OBJECT_FLAG_DYNAMIC) | 300 | if (a->flags & ASN1_OBJECT_FLAG_DYNAMIC) |
285 | Free(a); | 301 | OPENSSL_free(a); |
286 | } | 302 | } |
287 | 303 | ||
288 | ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len, | 304 | ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len, |
diff --git a/src/lib/libcrypto/asn1/a_set.c b/src/lib/libcrypto/asn1/a_set.c index c2481e7597..caf5a1419c 100644 --- a/src/lib/libcrypto/asn1/a_set.c +++ b/src/lib/libcrypto/asn1/a_set.c | |||
@@ -116,7 +116,7 @@ int i2d_ASN1_SET(STACK *a, unsigned char **pp, int (*func)(), int ex_tag, | |||
116 | } | 116 | } |
117 | 117 | ||
118 | pStart = p; /* Catch the beg of Setblobs*/ | 118 | pStart = p; /* Catch the beg of Setblobs*/ |
119 | rgSetBlob = (MYBLOB *)Malloc( sk_num(a) * sizeof(MYBLOB)); /* In this array | 119 | rgSetBlob = (MYBLOB *)OPENSSL_malloc( sk_num(a) * sizeof(MYBLOB)); /* In this array |
120 | we will store the SET blobs */ | 120 | we will store the SET blobs */ |
121 | 121 | ||
122 | for (i=0; i<sk_num(a); i++) | 122 | for (i=0; i<sk_num(a); i++) |
@@ -133,7 +133,7 @@ SetBlob | |||
133 | /* Now we have to sort the blobs. I am using a simple algo. | 133 | /* Now we have to sort the blobs. I am using a simple algo. |
134 | *Sort ptrs *Copy to temp-mem *Copy from temp-mem to user-mem*/ | 134 | *Sort ptrs *Copy to temp-mem *Copy from temp-mem to user-mem*/ |
135 | qsort( rgSetBlob, sk_num(a), sizeof(MYBLOB), SetBlobCmp); | 135 | qsort( rgSetBlob, sk_num(a), sizeof(MYBLOB), SetBlobCmp); |
136 | pTempMem = Malloc(totSize); | 136 | pTempMem = OPENSSL_malloc(totSize); |
137 | 137 | ||
138 | /* Copy to temp mem */ | 138 | /* Copy to temp mem */ |
139 | p = pTempMem; | 139 | p = pTempMem; |
@@ -145,20 +145,20 @@ SetBlob | |||
145 | 145 | ||
146 | /* Copy back to user mem*/ | 146 | /* Copy back to user mem*/ |
147 | memcpy(pStart, pTempMem, totSize); | 147 | memcpy(pStart, pTempMem, totSize); |
148 | Free(pTempMem); | 148 | OPENSSL_free(pTempMem); |
149 | Free(rgSetBlob); | 149 | OPENSSL_free(rgSetBlob); |
150 | 150 | ||
151 | return(r); | 151 | return(r); |
152 | } | 152 | } |
153 | 153 | ||
154 | STACK *d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, | 154 | STACK *d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, |
155 | char *(*func)(), void (*free_func)(), int ex_tag, int ex_class) | 155 | char *(*func)(), void (*free_func)(void *), int ex_tag, int ex_class) |
156 | { | 156 | { |
157 | ASN1_CTX c; | 157 | ASN1_CTX c; |
158 | STACK *ret=NULL; | 158 | STACK *ret=NULL; |
159 | 159 | ||
160 | if ((a == NULL) || ((*a) == NULL)) | 160 | if ((a == NULL) || ((*a) == NULL)) |
161 | { if ((ret=sk_new(NULL)) == NULL) goto err; } | 161 | { if ((ret=sk_new_null()) == NULL) goto err; } |
162 | else | 162 | else |
163 | ret=(*a); | 163 | ret=(*a); |
164 | 164 | ||
diff --git a/src/lib/libcrypto/asn1/a_sign.c b/src/lib/libcrypto/asn1/a_sign.c index cfb4bca4f1..4c651706d2 100644 --- a/src/lib/libcrypto/asn1/a_sign.c +++ b/src/lib/libcrypto/asn1/a_sign.c | |||
@@ -108,9 +108,9 @@ int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2, | |||
108 | } | 108 | } |
109 | } | 109 | } |
110 | inl=i2d(data,NULL); | 110 | inl=i2d(data,NULL); |
111 | buf_in=(unsigned char *)Malloc((unsigned int)inl); | 111 | buf_in=(unsigned char *)OPENSSL_malloc((unsigned int)inl); |
112 | outll=outl=EVP_PKEY_size(pkey); | 112 | outll=outl=EVP_PKEY_size(pkey); |
113 | buf_out=(unsigned char *)Malloc((unsigned int)outl); | 113 | buf_out=(unsigned char *)OPENSSL_malloc((unsigned int)outl); |
114 | if ((buf_in == NULL) || (buf_out == NULL)) | 114 | if ((buf_in == NULL) || (buf_out == NULL)) |
115 | { | 115 | { |
116 | outl=0; | 116 | outl=0; |
@@ -129,7 +129,7 @@ int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2, | |||
129 | ASN1err(ASN1_F_ASN1_SIGN,ERR_R_EVP_LIB); | 129 | ASN1err(ASN1_F_ASN1_SIGN,ERR_R_EVP_LIB); |
130 | goto err; | 130 | goto err; |
131 | } | 131 | } |
132 | if (signature->data != NULL) Free(signature->data); | 132 | if (signature->data != NULL) OPENSSL_free(signature->data); |
133 | signature->data=buf_out; | 133 | signature->data=buf_out; |
134 | buf_out=NULL; | 134 | buf_out=NULL; |
135 | signature->length=outl; | 135 | signature->length=outl; |
@@ -141,8 +141,8 @@ int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2, | |||
141 | err: | 141 | err: |
142 | memset(&ctx,0,sizeof(ctx)); | 142 | memset(&ctx,0,sizeof(ctx)); |
143 | if (buf_in != NULL) | 143 | if (buf_in != NULL) |
144 | { memset((char *)buf_in,0,(unsigned int)inl); Free(buf_in); } | 144 | { memset((char *)buf_in,0,(unsigned int)inl); OPENSSL_free(buf_in); } |
145 | if (buf_out != NULL) | 145 | if (buf_out != NULL) |
146 | { memset((char *)buf_out,0,outll); Free(buf_out); } | 146 | { memset((char *)buf_out,0,outll); OPENSSL_free(buf_out); } |
147 | return(outl); | 147 | return(outl); |
148 | } | 148 | } |
diff --git a/src/lib/libcrypto/asn1/a_strex.c b/src/lib/libcrypto/asn1/a_strex.c new file mode 100644 index 0000000000..569b811998 --- /dev/null +++ b/src/lib/libcrypto/asn1/a_strex.c | |||
@@ -0,0 +1,533 @@ | |||
1 | /* a_strex.c */ | ||
2 | /* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL | ||
3 | * project 2000. | ||
4 | */ | ||
5 | /* ==================================================================== | ||
6 | * Copyright (c) 2000 The OpenSSL Project. All rights reserved. | ||
7 | * | ||
8 | * Redistribution and use in source and binary forms, with or without | ||
9 | * modification, are permitted provided that the following conditions | ||
10 | * are met: | ||
11 | * | ||
12 | * 1. Redistributions of source code must retain the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer. | ||
14 | * | ||
15 | * 2. Redistributions in binary form must reproduce the above copyright | ||
16 | * notice, this list of conditions and the following disclaimer in | ||
17 | * the documentation and/or other materials provided with the | ||
18 | * distribution. | ||
19 | * | ||
20 | * 3. All advertising materials mentioning features or use of this | ||
21 | * software must display the following acknowledgment: | ||
22 | * "This product includes software developed by the OpenSSL Project | ||
23 | * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" | ||
24 | * | ||
25 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
26 | * endorse or promote products derived from this software without | ||
27 | * prior written permission. For written permission, please contact | ||
28 | * licensing@OpenSSL.org. | ||
29 | * | ||
30 | * 5. Products derived from this software may not be called "OpenSSL" | ||
31 | * nor may "OpenSSL" appear in their names without prior written | ||
32 | * permission of the OpenSSL Project. | ||
33 | * | ||
34 | * 6. Redistributions of any form whatsoever must retain the following | ||
35 | * acknowledgment: | ||
36 | * "This product includes software developed by the OpenSSL Project | ||
37 | * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" | ||
38 | * | ||
39 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
40 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
41 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
42 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
43 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
44 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
45 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
46 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
47 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
48 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
49 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
50 | * OF THE POSSIBILITY OF SUCH DAMAGE. | ||
51 | * ==================================================================== | ||
52 | * | ||
53 | * This product includes cryptographic software written by Eric Young | ||
54 | * (eay@cryptsoft.com). This product includes software written by Tim | ||
55 | * Hudson (tjh@cryptsoft.com). | ||
56 | * | ||
57 | */ | ||
58 | |||
59 | #include <stdio.h> | ||
60 | #include <string.h> | ||
61 | #include <openssl/crypto.h> | ||
62 | #include <openssl/x509.h> | ||
63 | #include <openssl/asn1.h> | ||
64 | |||
65 | #include "charmap.h" | ||
66 | |||
67 | /* ASN1_STRING_print_ex() and X509_NAME_print_ex(). | ||
68 | * Enhanced string and name printing routines handling | ||
69 | * multibyte characters, RFC2253 and a host of other | ||
70 | * options. | ||
71 | */ | ||
72 | |||
73 | |||
74 | #define CHARTYPE_BS_ESC (ASN1_STRFLGS_ESC_2253 | CHARTYPE_FIRST_ESC_2253 | CHARTYPE_LAST_ESC_2253) | ||
75 | |||
76 | |||
77 | /* Three IO functions for sending data to memory, a BIO and | ||
78 | * and a FILE pointer. | ||
79 | */ | ||
80 | |||
81 | int send_mem_chars(void *arg, const void *buf, int len) | ||
82 | { | ||
83 | unsigned char **out = arg; | ||
84 | if(!out) return 1; | ||
85 | memcpy(*out, buf, len); | ||
86 | *out += len; | ||
87 | return 1; | ||
88 | } | ||
89 | |||
90 | int send_bio_chars(void *arg, const void *buf, int len) | ||
91 | { | ||
92 | if(!arg) return 1; | ||
93 | if(BIO_write(arg, buf, len) != len) return 0; | ||
94 | return 1; | ||
95 | } | ||
96 | |||
97 | int send_fp_chars(void *arg, const void *buf, int len) | ||
98 | { | ||
99 | if(!arg) return 1; | ||
100 | if(fwrite(buf, 1, len, arg) != (unsigned int)len) return 0; | ||
101 | return 1; | ||
102 | } | ||
103 | |||
104 | typedef int char_io(void *arg, const void *buf, int len); | ||
105 | |||
106 | /* This function handles display of | ||
107 | * strings, one character at a time. | ||
108 | * It is passed an unsigned long for each | ||
109 | * character because it could come from 2 or even | ||
110 | * 4 byte forms. | ||
111 | */ | ||
112 | |||
113 | static int do_esc_char(unsigned long c, unsigned char flags, char *do_quotes, char_io *io_ch, void *arg) | ||
114 | { | ||
115 | unsigned char chflgs, chtmp; | ||
116 | char tmphex[11]; | ||
117 | if(c > 0xffff) { | ||
118 | BIO_snprintf(tmphex, 11, "\\W%08lX", c); | ||
119 | if(!io_ch(arg, tmphex, 10)) return -1; | ||
120 | return 10; | ||
121 | } | ||
122 | if(c > 0xff) { | ||
123 | BIO_snprintf(tmphex, 11, "\\U%04lX", c); | ||
124 | if(!io_ch(arg, tmphex, 6)) return -1; | ||
125 | return 6; | ||
126 | } | ||
127 | chtmp = (unsigned char)c; | ||
128 | if(chtmp > 0x7f) chflgs = flags & ASN1_STRFLGS_ESC_MSB; | ||
129 | else chflgs = char_type[chtmp] & flags; | ||
130 | if(chflgs & CHARTYPE_BS_ESC) { | ||
131 | /* If we don't escape with quotes, signal we need quotes */ | ||
132 | if(chflgs & ASN1_STRFLGS_ESC_QUOTE) { | ||
133 | if(do_quotes) *do_quotes = 1; | ||
134 | if(!io_ch(arg, &chtmp, 1)) return -1; | ||
135 | return 1; | ||
136 | } | ||
137 | if(!io_ch(arg, "\\", 1)) return -1; | ||
138 | if(!io_ch(arg, &chtmp, 1)) return -1; | ||
139 | return 2; | ||
140 | } | ||
141 | if(chflgs & (ASN1_STRFLGS_ESC_CTRL|ASN1_STRFLGS_ESC_MSB)) { | ||
142 | BIO_snprintf(tmphex, 11, "\\%02X", chtmp); | ||
143 | if(!io_ch(arg, tmphex, 3)) return -1; | ||
144 | return 3; | ||
145 | } | ||
146 | if(!io_ch(arg, &chtmp, 1)) return -1; | ||
147 | return 1; | ||
148 | } | ||
149 | |||
150 | #define BUF_TYPE_WIDTH_MASK 0x7 | ||
151 | #define BUF_TYPE_CONVUTF8 0x8 | ||
152 | |||
153 | /* This function sends each character in a buffer to | ||
154 | * do_esc_char(). It interprets the content formats | ||
155 | * and converts to or from UTF8 as appropriate. | ||
156 | */ | ||
157 | |||
158 | static int do_buf(unsigned char *buf, int buflen, | ||
159 | int type, unsigned char flags, char *quotes, char_io *io_ch, void *arg) | ||
160 | { | ||
161 | int i, outlen, len; | ||
162 | unsigned char orflags, *p, *q; | ||
163 | unsigned long c; | ||
164 | p = buf; | ||
165 | q = buf + buflen; | ||
166 | outlen = 0; | ||
167 | while(p != q) { | ||
168 | if(p == buf) orflags = CHARTYPE_FIRST_ESC_2253; | ||
169 | else orflags = 0; | ||
170 | switch(type & BUF_TYPE_WIDTH_MASK) { | ||
171 | case 4: | ||
172 | c = ((unsigned long)*p++) << 24; | ||
173 | c |= ((unsigned long)*p++) << 16; | ||
174 | c |= ((unsigned long)*p++) << 8; | ||
175 | c |= *p++; | ||
176 | break; | ||
177 | |||
178 | case 2: | ||
179 | c = ((unsigned long)*p++) << 8; | ||
180 | c |= *p++; | ||
181 | break; | ||
182 | |||
183 | case 1: | ||
184 | c = *p++; | ||
185 | break; | ||
186 | |||
187 | case 0: | ||
188 | i = UTF8_getc(p, buflen, &c); | ||
189 | if(i < 0) return -1; /* Invalid UTF8String */ | ||
190 | p += i; | ||
191 | break; | ||
192 | } | ||
193 | if (p == q) orflags = CHARTYPE_LAST_ESC_2253; | ||
194 | if(type & BUF_TYPE_CONVUTF8) { | ||
195 | unsigned char utfbuf[6]; | ||
196 | int utflen; | ||
197 | utflen = UTF8_putc(utfbuf, 6, c); | ||
198 | for(i = 0; i < utflen; i++) { | ||
199 | /* We don't need to worry about setting orflags correctly | ||
200 | * because if utflen==1 its value will be correct anyway | ||
201 | * otherwise each character will be > 0x7f and so the | ||
202 | * character will never be escaped on first and last. | ||
203 | */ | ||
204 | len = do_esc_char(utfbuf[i], (unsigned char)(flags | orflags), quotes, io_ch, arg); | ||
205 | if(len < 0) return -1; | ||
206 | outlen += len; | ||
207 | } | ||
208 | } else { | ||
209 | len = do_esc_char(c, (unsigned char)(flags | orflags), quotes, io_ch, arg); | ||
210 | if(len < 0) return -1; | ||
211 | outlen += len; | ||
212 | } | ||
213 | } | ||
214 | return outlen; | ||
215 | } | ||
216 | |||
217 | /* This function hex dumps a buffer of characters */ | ||
218 | |||
219 | static int do_hex_dump(char_io *io_ch, void *arg, unsigned char *buf, int buflen) | ||
220 | { | ||
221 | const static char hexdig[] = "0123456789ABCDEF"; | ||
222 | unsigned char *p, *q; | ||
223 | char hextmp[2]; | ||
224 | if(arg) { | ||
225 | p = buf; | ||
226 | q = buf + buflen; | ||
227 | while(p != q) { | ||
228 | hextmp[0] = hexdig[*p >> 4]; | ||
229 | hextmp[1] = hexdig[*p & 0xf]; | ||
230 | if(!io_ch(arg, hextmp, 2)) return -1; | ||
231 | p++; | ||
232 | } | ||
233 | } | ||
234 | return buflen << 1; | ||
235 | } | ||
236 | |||
237 | /* "dump" a string. This is done when the type is unknown, | ||
238 | * or the flags request it. We can either dump the content | ||
239 | * octets or the entire DER encoding. This uses the RFC2253 | ||
240 | * #01234 format. | ||
241 | */ | ||
242 | |||
243 | int do_dump(unsigned long lflags, char_io *io_ch, void *arg, ASN1_STRING *str) | ||
244 | { | ||
245 | /* Placing the ASN1_STRING in a temp ASN1_TYPE allows | ||
246 | * the DER encoding to readily obtained | ||
247 | */ | ||
248 | ASN1_TYPE t; | ||
249 | unsigned char *der_buf, *p; | ||
250 | int outlen, der_len; | ||
251 | |||
252 | if(!io_ch(arg, "#", 1)) return -1; | ||
253 | /* If we don't dump DER encoding just dump content octets */ | ||
254 | if(!(lflags & ASN1_STRFLGS_DUMP_DER)) { | ||
255 | outlen = do_hex_dump(io_ch, arg, str->data, str->length); | ||
256 | if(outlen < 0) return -1; | ||
257 | return outlen + 1; | ||
258 | } | ||
259 | t.type = str->type; | ||
260 | t.value.ptr = (char *)str; | ||
261 | der_len = i2d_ASN1_TYPE(&t, NULL); | ||
262 | der_buf = OPENSSL_malloc(der_len); | ||
263 | if(!der_buf) return -1; | ||
264 | p = der_buf; | ||
265 | i2d_ASN1_TYPE(&t, &p); | ||
266 | outlen = do_hex_dump(io_ch, arg, der_buf, der_len); | ||
267 | OPENSSL_free(der_buf); | ||
268 | if(outlen < 0) return -1; | ||
269 | return outlen + 1; | ||
270 | } | ||
271 | |||
272 | /* Lookup table to convert tags to character widths, | ||
273 | * 0 = UTF8 encoded, -1 is used for non string types | ||
274 | * otherwise it is the number of bytes per character | ||
275 | */ | ||
276 | |||
277 | const static char tag2nbyte[] = { | ||
278 | -1, -1, -1, -1, -1, /* 0-4 */ | ||
279 | -1, -1, -1, -1, -1, /* 5-9 */ | ||
280 | -1, -1, 0, -1, /* 10-13 */ | ||
281 | -1, -1, -1, -1, /* 15-17 */ | ||
282 | -1, 1, 1, /* 18-20 */ | ||
283 | -1, 1, -1,-1, /* 21-24 */ | ||
284 | -1, 1, -1, /* 25-27 */ | ||
285 | 4, -1, 2 /* 28-30 */ | ||
286 | }; | ||
287 | |||
288 | #define ESC_FLAGS (ASN1_STRFLGS_ESC_2253 | \ | ||
289 | ASN1_STRFLGS_ESC_QUOTE | \ | ||
290 | ASN1_STRFLGS_ESC_CTRL | \ | ||
291 | ASN1_STRFLGS_ESC_MSB) | ||
292 | |||
293 | /* This is the main function, print out an | ||
294 | * ASN1_STRING taking note of various escape | ||
295 | * and display options. Returns number of | ||
296 | * characters written or -1 if an error | ||
297 | * occurred. | ||
298 | */ | ||
299 | |||
300 | static int do_print_ex(char_io *io_ch, void *arg, unsigned long lflags, ASN1_STRING *str) | ||
301 | { | ||
302 | int outlen, len; | ||
303 | int type; | ||
304 | char quotes; | ||
305 | unsigned char flags; | ||
306 | quotes = 0; | ||
307 | /* Keep a copy of escape flags */ | ||
308 | flags = (unsigned char)(lflags & ESC_FLAGS); | ||
309 | |||
310 | type = str->type; | ||
311 | |||
312 | outlen = 0; | ||
313 | |||
314 | |||
315 | if(lflags & ASN1_STRFLGS_SHOW_TYPE) { | ||
316 | const char *tagname; | ||
317 | tagname = ASN1_tag2str(type); | ||
318 | outlen += strlen(tagname); | ||
319 | if(!io_ch(arg, tagname, outlen) || !io_ch(arg, ":", 1)) return -1; | ||
320 | outlen++; | ||
321 | } | ||
322 | |||
323 | /* Decide what to do with type, either dump content or display it */ | ||
324 | |||
325 | /* Dump everything */ | ||
326 | if(lflags & ASN1_STRFLGS_DUMP_ALL) type = -1; | ||
327 | /* Ignore the string type */ | ||
328 | else if(lflags & ASN1_STRFLGS_IGNORE_TYPE) type = 1; | ||
329 | else { | ||
330 | /* Else determine width based on type */ | ||
331 | if((type > 0) && (type < 31)) type = tag2nbyte[type]; | ||
332 | else type = -1; | ||
333 | if((type == -1) && !(lflags & ASN1_STRFLGS_DUMP_UNKNOWN)) type = 1; | ||
334 | } | ||
335 | |||
336 | if(type == -1) { | ||
337 | len = do_dump(lflags, io_ch, arg, str); | ||
338 | if(len < 0) return -1; | ||
339 | outlen += len; | ||
340 | return outlen; | ||
341 | } | ||
342 | |||
343 | if(lflags & ASN1_STRFLGS_UTF8_CONVERT) { | ||
344 | /* Note: if string is UTF8 and we want | ||
345 | * to convert to UTF8 then we just interpret | ||
346 | * it as 1 byte per character to avoid converting | ||
347 | * twice. | ||
348 | */ | ||
349 | if(!type) type = 1; | ||
350 | else type |= BUF_TYPE_CONVUTF8; | ||
351 | } | ||
352 | |||
353 | len = do_buf(str->data, str->length, type, flags, "es, io_ch, NULL); | ||
354 | if(outlen < 0) return -1; | ||
355 | outlen += len; | ||
356 | if(quotes) outlen += 2; | ||
357 | if(!arg) return outlen; | ||
358 | if(quotes && !io_ch(arg, "\"", 1)) return -1; | ||
359 | do_buf(str->data, str->length, type, flags, NULL, io_ch, arg); | ||
360 | if(quotes && !io_ch(arg, "\"", 1)) return -1; | ||
361 | return outlen; | ||
362 | } | ||
363 | |||
364 | /* Used for line indenting: print 'indent' spaces */ | ||
365 | |||
366 | static int do_indent(char_io *io_ch, void *arg, int indent) | ||
367 | { | ||
368 | int i; | ||
369 | for(i = 0; i < indent; i++) | ||
370 | if(!io_ch(arg, " ", 1)) return 0; | ||
371 | return 1; | ||
372 | } | ||
373 | |||
374 | |||
375 | static int do_name_ex(char_io *io_ch, void *arg, X509_NAME *n, | ||
376 | int indent, unsigned long flags) | ||
377 | { | ||
378 | int i, prev = -1, orflags, cnt; | ||
379 | int fn_opt, fn_nid; | ||
380 | ASN1_OBJECT *fn; | ||
381 | ASN1_STRING *val; | ||
382 | X509_NAME_ENTRY *ent; | ||
383 | char objtmp[80]; | ||
384 | const char *objbuf; | ||
385 | int outlen, len; | ||
386 | char *sep_dn, *sep_mv, *sep_eq; | ||
387 | int sep_dn_len, sep_mv_len, sep_eq_len; | ||
388 | if(indent < 0) indent = 0; | ||
389 | outlen = indent; | ||
390 | if(!do_indent(io_ch, arg, indent)) return -1; | ||
391 | switch (flags & XN_FLAG_SEP_MASK) | ||
392 | { | ||
393 | case XN_FLAG_SEP_MULTILINE: | ||
394 | sep_dn = "\n"; | ||
395 | sep_dn_len = 1; | ||
396 | sep_mv = " + "; | ||
397 | sep_mv_len = 3; | ||
398 | break; | ||
399 | |||
400 | case XN_FLAG_SEP_COMMA_PLUS: | ||
401 | sep_dn = ","; | ||
402 | sep_dn_len = 1; | ||
403 | sep_mv = "+"; | ||
404 | sep_mv_len = 1; | ||
405 | indent = 0; | ||
406 | break; | ||
407 | |||
408 | case XN_FLAG_SEP_CPLUS_SPC: | ||
409 | sep_dn = ", "; | ||
410 | sep_dn_len = 2; | ||
411 | sep_mv = " + "; | ||
412 | sep_mv_len = 3; | ||
413 | indent = 0; | ||
414 | break; | ||
415 | |||
416 | case XN_FLAG_SEP_SPLUS_SPC: | ||
417 | sep_dn = "; "; | ||
418 | sep_dn_len = 2; | ||
419 | sep_mv = " + "; | ||
420 | sep_mv_len = 3; | ||
421 | indent = 0; | ||
422 | break; | ||
423 | |||
424 | default: | ||
425 | return -1; | ||
426 | } | ||
427 | |||
428 | if(flags & XN_FLAG_SPC_EQ) { | ||
429 | sep_eq = " = "; | ||
430 | sep_eq_len = 3; | ||
431 | } else { | ||
432 | sep_eq = "="; | ||
433 | sep_eq_len = 1; | ||
434 | } | ||
435 | |||
436 | fn_opt = flags & XN_FLAG_FN_MASK; | ||
437 | |||
438 | cnt = X509_NAME_entry_count(n); | ||
439 | for(i = 0; i < cnt; i++) { | ||
440 | if(flags & XN_FLAG_DN_REV) | ||
441 | ent = X509_NAME_get_entry(n, cnt - i - 1); | ||
442 | else ent = X509_NAME_get_entry(n, i); | ||
443 | if(prev != -1) { | ||
444 | if(prev == ent->set) { | ||
445 | if(!io_ch(arg, sep_mv, sep_mv_len)) return -1; | ||
446 | outlen += sep_mv_len; | ||
447 | } else { | ||
448 | if(!io_ch(arg, sep_dn, sep_dn_len)) return -1; | ||
449 | outlen += sep_dn_len; | ||
450 | if(!do_indent(io_ch, arg, indent)) return -1; | ||
451 | outlen += indent; | ||
452 | } | ||
453 | } | ||
454 | prev = ent->set; | ||
455 | fn = X509_NAME_ENTRY_get_object(ent); | ||
456 | val = X509_NAME_ENTRY_get_data(ent); | ||
457 | fn_nid = OBJ_obj2nid(fn); | ||
458 | if(fn_opt != XN_FLAG_FN_NONE) { | ||
459 | int objlen; | ||
460 | if((fn_opt == XN_FLAG_FN_OID) || (fn_nid==NID_undef) ) { | ||
461 | OBJ_obj2txt(objtmp, 80, fn, 1); | ||
462 | objbuf = objtmp; | ||
463 | } else { | ||
464 | if(fn_opt == XN_FLAG_FN_SN) | ||
465 | objbuf = OBJ_nid2sn(fn_nid); | ||
466 | else if(fn_opt == XN_FLAG_FN_LN) | ||
467 | objbuf = OBJ_nid2ln(fn_nid); | ||
468 | else objbuf = ""; | ||
469 | } | ||
470 | objlen = strlen(objbuf); | ||
471 | if(!io_ch(arg, objbuf, objlen)) return -1; | ||
472 | if(!io_ch(arg, sep_eq, sep_eq_len)) return -1; | ||
473 | outlen += objlen + sep_eq_len; | ||
474 | } | ||
475 | /* If the field name is unknown then fix up the DER dump | ||
476 | * flag. We might want to limit this further so it will | ||
477 | * DER dump on anything other than a few 'standard' fields. | ||
478 | */ | ||
479 | if((fn_nid == NID_undef) && (flags & XN_FLAG_DUMP_UNKNOWN_FIELDS)) | ||
480 | orflags = ASN1_STRFLGS_DUMP_ALL; | ||
481 | else orflags = 0; | ||
482 | |||
483 | len = do_print_ex(io_ch, arg, flags | orflags, val); | ||
484 | if(len < 0) return -1; | ||
485 | outlen += len; | ||
486 | } | ||
487 | return outlen; | ||
488 | } | ||
489 | |||
490 | /* Wrappers round the main functions */ | ||
491 | |||
492 | int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags) | ||
493 | { | ||
494 | return do_name_ex(send_bio_chars, out, nm, indent, flags); | ||
495 | } | ||
496 | |||
497 | |||
498 | int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) | ||
499 | { | ||
500 | return do_name_ex(send_fp_chars, fp, nm, indent, flags); | ||
501 | } | ||
502 | |||
503 | int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) | ||
504 | { | ||
505 | return do_print_ex(send_bio_chars, out, flags, str); | ||
506 | } | ||
507 | |||
508 | |||
509 | int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) | ||
510 | { | ||
511 | return do_print_ex(send_fp_chars, fp, flags, str); | ||
512 | } | ||
513 | |||
514 | /* Utility function: convert any string type to UTF8, returns number of bytes | ||
515 | * in output string or a negative error code | ||
516 | */ | ||
517 | |||
518 | int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) | ||
519 | { | ||
520 | ASN1_STRING stmp, *str = &stmp; | ||
521 | int mbflag, type, ret; | ||
522 | if(!*out || !in) return -1; | ||
523 | type = in->type; | ||
524 | if((type < 0) || (type > 30)) return -1; | ||
525 | mbflag = tag2nbyte[type]; | ||
526 | if(mbflag == -1) return -1; | ||
527 | mbflag |= MBSTRING_FLAG; | ||
528 | stmp.data = NULL; | ||
529 | ret = ASN1_mbstring_copy(&str, in->data, in->length, mbflag, B_ASN1_UTF8STRING); | ||
530 | if(ret < 0) return ret; | ||
531 | if(out) *out = stmp.data; | ||
532 | return stmp.length; | ||
533 | } | ||
diff --git a/src/lib/libcrypto/asn1/a_strnid.c b/src/lib/libcrypto/asn1/a_strnid.c index ab8417ffab..6b10cff994 100644 --- a/src/lib/libcrypto/asn1/a_strnid.c +++ b/src/lib/libcrypto/asn1/a_strnid.c | |||
@@ -65,8 +65,9 @@ | |||
65 | 65 | ||
66 | static STACK_OF(ASN1_STRING_TABLE) *stable = NULL; | 66 | static STACK_OF(ASN1_STRING_TABLE) *stable = NULL; |
67 | static void st_free(ASN1_STRING_TABLE *tbl); | 67 | static void st_free(ASN1_STRING_TABLE *tbl); |
68 | static int sk_table_cmp(ASN1_STRING_TABLE **a, ASN1_STRING_TABLE **b); | 68 | static int sk_table_cmp(const ASN1_STRING_TABLE * const *a, |
69 | static int table_cmp(ASN1_STRING_TABLE *a, ASN1_STRING_TABLE *b); | 69 | const ASN1_STRING_TABLE * const *b); |
70 | static int table_cmp(const void *a, const void *b); | ||
70 | 71 | ||
71 | 72 | ||
72 | /* This is the global mask for the mbstring functions: this is use to | 73 | /* This is the global mask for the mbstring functions: this is use to |
@@ -173,14 +174,16 @@ static ASN1_STRING_TABLE tbl_standard[] = { | |||
173 | {NID_dnQualifier, -1, -1, B_ASN1_PRINTABLESTRING, STABLE_NO_MASK} | 174 | {NID_dnQualifier, -1, -1, B_ASN1_PRINTABLESTRING, STABLE_NO_MASK} |
174 | }; | 175 | }; |
175 | 176 | ||
176 | static int sk_table_cmp(ASN1_STRING_TABLE **a, ASN1_STRING_TABLE **b) | 177 | static int sk_table_cmp(const ASN1_STRING_TABLE * const *a, |
178 | const ASN1_STRING_TABLE * const *b) | ||
177 | { | 179 | { |
178 | return (*a)->nid - (*b)->nid; | 180 | return (*a)->nid - (*b)->nid; |
179 | } | 181 | } |
180 | 182 | ||
181 | static int table_cmp(ASN1_STRING_TABLE *a, ASN1_STRING_TABLE *b) | 183 | static int table_cmp(const void *a, const void *b) |
182 | { | 184 | { |
183 | return a->nid - b->nid; | 185 | const ASN1_STRING_TABLE *sa = a, *sb = b; |
186 | return sa->nid - sb->nid; | ||
184 | } | 187 | } |
185 | 188 | ||
186 | ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) | 189 | ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) |
@@ -192,7 +195,7 @@ ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) | |||
192 | ttmp = (ASN1_STRING_TABLE *) OBJ_bsearch((char *)&fnd, | 195 | ttmp = (ASN1_STRING_TABLE *) OBJ_bsearch((char *)&fnd, |
193 | (char *)tbl_standard, | 196 | (char *)tbl_standard, |
194 | sizeof(tbl_standard)/sizeof(ASN1_STRING_TABLE), | 197 | sizeof(tbl_standard)/sizeof(ASN1_STRING_TABLE), |
195 | sizeof(ASN1_STRING_TABLE), (int(*)())table_cmp); | 198 | sizeof(ASN1_STRING_TABLE), table_cmp); |
196 | if(ttmp) return ttmp; | 199 | if(ttmp) return ttmp; |
197 | if(!stable) return NULL; | 200 | if(!stable) return NULL; |
198 | idx = sk_ASN1_STRING_TABLE_find(stable, &fnd); | 201 | idx = sk_ASN1_STRING_TABLE_find(stable, &fnd); |
@@ -213,7 +216,7 @@ int ASN1_STRING_TABLE_add(int nid, | |||
213 | return 0; | 216 | return 0; |
214 | } | 217 | } |
215 | if(!(tmp = ASN1_STRING_TABLE_get(nid))) { | 218 | if(!(tmp = ASN1_STRING_TABLE_get(nid))) { |
216 | tmp = Malloc(sizeof(ASN1_STRING_TABLE)); | 219 | tmp = OPENSSL_malloc(sizeof(ASN1_STRING_TABLE)); |
217 | if(!tmp) { | 220 | if(!tmp) { |
218 | ASN1err(ASN1_F_ASN1_STRING_TABLE_ADD, | 221 | ASN1err(ASN1_F_ASN1_STRING_TABLE_ADD, |
219 | ERR_R_MALLOC_FAILURE); | 222 | ERR_R_MALLOC_FAILURE); |
@@ -241,7 +244,7 @@ void ASN1_STRING_TABLE_cleanup(void) | |||
241 | 244 | ||
242 | static void st_free(ASN1_STRING_TABLE *tbl) | 245 | static void st_free(ASN1_STRING_TABLE *tbl) |
243 | { | 246 | { |
244 | if(tbl->flags & STABLE_FLAGS_MALLOC) Free(tbl); | 247 | if(tbl->flags & STABLE_FLAGS_MALLOC) OPENSSL_free(tbl); |
245 | } | 248 | } |
246 | 249 | ||
247 | IMPLEMENT_STACK_OF(ASN1_STRING_TABLE) | 250 | IMPLEMENT_STACK_OF(ASN1_STRING_TABLE) |
diff --git a/src/lib/libcrypto/asn1/a_time.c b/src/lib/libcrypto/asn1/a_time.c index b193f1c71f..8c0ddee4ac 100644 --- a/src/lib/libcrypto/asn1/a_time.c +++ b/src/lib/libcrypto/asn1/a_time.c | |||
@@ -113,11 +113,9 @@ ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, unsigned char **pp, long length) | |||
113 | ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t) | 113 | ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t) |
114 | { | 114 | { |
115 | struct tm *ts; | 115 | struct tm *ts; |
116 | #if defined(THREADS) && !defined(WIN32) | 116 | #if defined(THREADS) && !defined(WIN32) && !defined(__CYGWIN32__) |
117 | struct tm data; | 117 | struct tm data; |
118 | #endif | ||
119 | 118 | ||
120 | #if defined(THREADS) && !defined(WIN32) | ||
121 | gmtime_r(&t,&data); | 119 | gmtime_r(&t,&data); |
122 | ts=&data; /* should return &data, but doesn't on some systems, so we don't even look at the return value */ | 120 | ts=&data; /* should return &data, but doesn't on some systems, so we don't even look at the return value */ |
123 | #else | 121 | #else |
diff --git a/src/lib/libcrypto/asn1/a_type.c b/src/lib/libcrypto/asn1/a_type.c index 161ef81197..e72a6b29e0 100644 --- a/src/lib/libcrypto/asn1/a_type.c +++ b/src/lib/libcrypto/asn1/a_type.c | |||
@@ -123,6 +123,8 @@ int i2d_ASN1_TYPE(ASN1_TYPE *a, unsigned char **pp) | |||
123 | break; | 123 | break; |
124 | case V_ASN1_SET: | 124 | case V_ASN1_SET: |
125 | case V_ASN1_SEQUENCE: | 125 | case V_ASN1_SEQUENCE: |
126 | case V_ASN1_OTHER: | ||
127 | default: | ||
126 | if (a->value.set == NULL) | 128 | if (a->value.set == NULL) |
127 | r=0; | 129 | r=0; |
128 | else | 130 | else |
@@ -159,6 +161,8 @@ ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, unsigned char **pp, long length) | |||
159 | 161 | ||
160 | inf=ASN1_get_object(&q,&len,&tag,&xclass,length); | 162 | inf=ASN1_get_object(&q,&len,&tag,&xclass,length); |
161 | if (inf & 0x80) goto err; | 163 | if (inf & 0x80) goto err; |
164 | /* If not universal tag we've no idea what it is */ | ||
165 | if(xclass != V_ASN1_UNIVERSAL) tag = V_ASN1_OTHER; | ||
162 | 166 | ||
163 | ASN1_TYPE_component_free(ret); | 167 | ASN1_TYPE_component_free(ret); |
164 | 168 | ||
@@ -245,6 +249,8 @@ ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, unsigned char **pp, long length) | |||
245 | break; | 249 | break; |
246 | case V_ASN1_SET: | 250 | case V_ASN1_SET: |
247 | case V_ASN1_SEQUENCE: | 251 | case V_ASN1_SEQUENCE: |
252 | case V_ASN1_OTHER: | ||
253 | default: | ||
248 | /* Sets and sequences are left complete */ | 254 | /* Sets and sequences are left complete */ |
249 | if ((ret->value.set=ASN1_STRING_new()) == NULL) goto err; | 255 | if ((ret->value.set=ASN1_STRING_new()) == NULL) goto err; |
250 | ret->value.set->type=tag; | 256 | ret->value.set->type=tag; |
@@ -252,9 +258,6 @@ ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, unsigned char **pp, long length) | |||
252 | if (!ASN1_STRING_set(ret->value.set,p,(int)len)) goto err; | 258 | if (!ASN1_STRING_set(ret->value.set,p,(int)len)) goto err; |
253 | p+=len; | 259 | p+=len; |
254 | break; | 260 | break; |
255 | default: | ||
256 | ASN1err(ASN1_F_D2I_ASN1_TYPE,ASN1_R_BAD_TYPE); | ||
257 | goto err; | ||
258 | } | 261 | } |
259 | 262 | ||
260 | ret->type=tag; | 263 | ret->type=tag; |
@@ -282,7 +285,7 @@ void ASN1_TYPE_free(ASN1_TYPE *a) | |||
282 | { | 285 | { |
283 | if (a == NULL) return; | 286 | if (a == NULL) return; |
284 | ASN1_TYPE_component_free(a); | 287 | ASN1_TYPE_component_free(a); |
285 | Free(a); | 288 | OPENSSL_free(a); |
286 | } | 289 | } |
287 | 290 | ||
288 | int ASN1_TYPE_get(ASN1_TYPE *a) | 291 | int ASN1_TYPE_get(ASN1_TYPE *a) |
@@ -312,6 +315,8 @@ static void ASN1_TYPE_component_free(ASN1_TYPE *a) | |||
312 | case V_ASN1_OBJECT: | 315 | case V_ASN1_OBJECT: |
313 | ASN1_OBJECT_free(a->value.object); | 316 | ASN1_OBJECT_free(a->value.object); |
314 | break; | 317 | break; |
318 | case V_ASN1_NULL: | ||
319 | break; | ||
315 | case V_ASN1_INTEGER: | 320 | case V_ASN1_INTEGER: |
316 | case V_ASN1_NEG_INTEGER: | 321 | case V_ASN1_NEG_INTEGER: |
317 | case V_ASN1_ENUMERATED: | 322 | case V_ASN1_ENUMERATED: |
@@ -333,10 +338,9 @@ static void ASN1_TYPE_component_free(ASN1_TYPE *a) | |||
333 | case V_ASN1_UNIVERSALSTRING: | 338 | case V_ASN1_UNIVERSALSTRING: |
334 | case V_ASN1_BMPSTRING: | 339 | case V_ASN1_BMPSTRING: |
335 | case V_ASN1_UTF8STRING: | 340 | case V_ASN1_UTF8STRING: |
336 | ASN1_STRING_free((ASN1_STRING *)a->value.ptr); | 341 | case V_ASN1_OTHER: |
337 | break; | ||
338 | default: | 342 | default: |
339 | /* MEMORY LEAK */ | 343 | ASN1_STRING_free((ASN1_STRING *)a->value.ptr); |
340 | break; | 344 | break; |
341 | } | 345 | } |
342 | a->type=0; | 346 | a->type=0; |
diff --git a/src/lib/libcrypto/asn1/a_utctm.c b/src/lib/libcrypto/asn1/a_utctm.c index 07565974e3..d381c9e0d1 100644 --- a/src/lib/libcrypto/asn1/a_utctm.c +++ b/src/lib/libcrypto/asn1/a_utctm.c | |||
@@ -193,7 +193,8 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) | |||
193 | { | 193 | { |
194 | char *p; | 194 | char *p; |
195 | struct tm *ts; | 195 | struct tm *ts; |
196 | #if defined(THREADS) && !defined(WIN32) | 196 | #if defined(THREADS) && !defined(WIN32) && !defined(__CYGWIN32__) |
197 | |||
197 | struct tm data; | 198 | struct tm data; |
198 | #endif | 199 | #endif |
199 | 200 | ||
@@ -202,7 +203,7 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) | |||
202 | if (s == NULL) | 203 | if (s == NULL) |
203 | return(NULL); | 204 | return(NULL); |
204 | 205 | ||
205 | #if defined(THREADS) && !defined(WIN32) | 206 | #if defined(THREADS) && !defined(WIN32) && !defined(__CYGWIN32__) |
206 | gmtime_r(&t,&data); /* should return &data, but doesn't on some systems, so we don't even look at the return value */ | 207 | gmtime_r(&t,&data); /* should return &data, but doesn't on some systems, so we don't even look at the return value */ |
207 | ts=&data; | 208 | ts=&data; |
208 | #else | 209 | #else |
@@ -248,10 +249,10 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) | |||
248 | p=(char *)s->data; | 249 | p=(char *)s->data; |
249 | if ((p == NULL) || (s->length < 14)) | 250 | if ((p == NULL) || (s->length < 14)) |
250 | { | 251 | { |
251 | p=Malloc(20); | 252 | p=OPENSSL_malloc(20); |
252 | if (p == NULL) return(NULL); | 253 | if (p == NULL) return(NULL); |
253 | if (s->data != NULL) | 254 | if (s->data != NULL) |
254 | Free(s->data); | 255 | OPENSSL_free(s->data); |
255 | s->data=(unsigned char *)p; | 256 | s->data=(unsigned char *)p; |
256 | } | 257 | } |
257 | 258 | ||
@@ -264,3 +265,84 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) | |||
264 | #endif | 265 | #endif |
265 | return(s); | 266 | return(s); |
266 | } | 267 | } |
268 | |||
269 | |||
270 | int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t) | ||
271 | { | ||
272 | struct tm *tm; | ||
273 | int offset; | ||
274 | int year; | ||
275 | |||
276 | #define g2(p) (((p)[0]-'0')*10+(p)[1]-'0') | ||
277 | |||
278 | if (s->data[12] == 'Z') | ||
279 | offset=0; | ||
280 | else | ||
281 | { | ||
282 | offset = g2(s->data+13)*60+g2(s->data+15); | ||
283 | if (s->data[12] == '-') | ||
284 | offset = -offset; | ||
285 | } | ||
286 | |||
287 | t -= offset*60; /* FIXME: may overflow in extreme cases */ | ||
288 | |||
289 | #if defined(THREADS) && !defined(WIN32) && !defined(__CYGWIN32__) | ||
290 | { struct tm data; gmtime_r(&t, &data); tm = &data; } | ||
291 | #else | ||
292 | tm = gmtime(&t); | ||
293 | #endif | ||
294 | |||
295 | #define return_cmp(a,b) if ((a)<(b)) return -1; else if ((a)>(b)) return 1 | ||
296 | year = g2(s->data); | ||
297 | if (year < 50) | ||
298 | year += 100; | ||
299 | return_cmp(year, tm->tm_year); | ||
300 | return_cmp(g2(s->data+2) - 1, tm->tm_mon); | ||
301 | return_cmp(g2(s->data+4), tm->tm_mday); | ||
302 | return_cmp(g2(s->data+6), tm->tm_hour); | ||
303 | return_cmp(g2(s->data+8), tm->tm_min); | ||
304 | return_cmp(g2(s->data+10), tm->tm_sec); | ||
305 | #undef g2 | ||
306 | #undef return_cmp | ||
307 | |||
308 | return 0; | ||
309 | } | ||
310 | |||
311 | |||
312 | #if 0 | ||
313 | time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s) | ||
314 | { | ||
315 | struct tm tm; | ||
316 | int offset; | ||
317 | |||
318 | memset(&tm,'\0',sizeof tm); | ||
319 | |||
320 | #define g2(p) (((p)[0]-'0')*10+(p)[1]-'0') | ||
321 | tm.tm_year=g2(s->data); | ||
322 | if(tm.tm_year < 50) | ||
323 | tm.tm_year+=100; | ||
324 | tm.tm_mon=g2(s->data+2)-1; | ||
325 | tm.tm_mday=g2(s->data+4); | ||
326 | tm.tm_hour=g2(s->data+6); | ||
327 | tm.tm_min=g2(s->data+8); | ||
328 | tm.tm_sec=g2(s->data+10); | ||
329 | if(s->data[12] == 'Z') | ||
330 | offset=0; | ||
331 | else | ||
332 | { | ||
333 | offset=g2(s->data+13)*60+g2(s->data+15); | ||
334 | if(s->data[12] == '-') | ||
335 | offset= -offset; | ||
336 | } | ||
337 | #undef g2 | ||
338 | |||
339 | return mktime(&tm)-offset*60; /* FIXME: mktime assumes the current timezone | ||
340 | * instead of UTC, and unless we rewrite OpenSSL | ||
341 | * in Lisp we cannot locally change the timezone | ||
342 | * without possibly interfering with other parts | ||
343 | * of the program. timegm, which uses UTC, is | ||
344 | * non-standard. | ||
345 | * Also time_t is inappropriate for general | ||
346 | * UTC times because it may a 32 bit type. */ | ||
347 | } | ||
348 | #endif | ||
diff --git a/src/lib/libcrypto/asn1/a_utf8.c b/src/lib/libcrypto/asn1/a_utf8.c index b5125af224..854278f136 100644 --- a/src/lib/libcrypto/asn1/a_utf8.c +++ b/src/lib/libcrypto/asn1/a_utf8.c | |||
@@ -133,7 +133,7 @@ int UTF8_getc(const unsigned char *str, int len, unsigned long *val) | |||
133 | if( ((p[1] & 0xc0) != 0x80) | 133 | if( ((p[1] & 0xc0) != 0x80) |
134 | || ((p[2] & 0xc0) != 0x80) | 134 | || ((p[2] & 0xc0) != 0x80) |
135 | || ((p[3] & 0xc0) != 0x80) ) return -3; | 135 | || ((p[3] & 0xc0) != 0x80) ) return -3; |
136 | value = (*p++ & 0x7) << 18; | 136 | value = ((unsigned long)(*p++ & 0x7)) << 18; |
137 | value |= (*p++ & 0x3f) << 12; | 137 | value |= (*p++ & 0x3f) << 12; |
138 | value |= (*p++ & 0x3f) << 6; | 138 | value |= (*p++ & 0x3f) << 6; |
139 | value |= *p++ & 0x3f; | 139 | value |= *p++ & 0x3f; |
@@ -145,9 +145,9 @@ int UTF8_getc(const unsigned char *str, int len, unsigned long *val) | |||
145 | || ((p[2] & 0xc0) != 0x80) | 145 | || ((p[2] & 0xc0) != 0x80) |
146 | || ((p[3] & 0xc0) != 0x80) | 146 | || ((p[3] & 0xc0) != 0x80) |
147 | || ((p[4] & 0xc0) != 0x80) ) return -3; | 147 | || ((p[4] & 0xc0) != 0x80) ) return -3; |
148 | value = (*p++ & 0x3) << 24; | 148 | value = ((unsigned long)(*p++ & 0x3)) << 24; |
149 | value |= (*p++ & 0x3f) << 18; | 149 | value |= ((unsigned long)(*p++ & 0x3f)) << 18; |
150 | value |= (*p++ & 0x3f) << 12; | 150 | value |= ((unsigned long)(*p++ & 0x3f)) << 12; |
151 | value |= (*p++ & 0x3f) << 6; | 151 | value |= (*p++ & 0x3f) << 6; |
152 | value |= *p++ & 0x3f; | 152 | value |= *p++ & 0x3f; |
153 | if(value < 0x200000) return -4; | 153 | if(value < 0x200000) return -4; |
@@ -159,10 +159,10 @@ int UTF8_getc(const unsigned char *str, int len, unsigned long *val) | |||
159 | || ((p[3] & 0xc0) != 0x80) | 159 | || ((p[3] & 0xc0) != 0x80) |
160 | || ((p[4] & 0xc0) != 0x80) | 160 | || ((p[4] & 0xc0) != 0x80) |
161 | || ((p[5] & 0xc0) != 0x80) ) return -3; | 161 | || ((p[5] & 0xc0) != 0x80) ) return -3; |
162 | value = (*p++ & 0x1) << 30; | 162 | value = ((unsigned long)(*p++ & 0x1)) << 30; |
163 | value |= (*p++ & 0x3f) << 24; | 163 | value |= ((unsigned long)(*p++ & 0x3f)) << 24; |
164 | value |= (*p++ & 0x3f) << 18; | 164 | value |= ((unsigned long)(*p++ & 0x3f)) << 18; |
165 | value |= (*p++ & 0x3f) << 12; | 165 | value |= ((unsigned long)(*p++ & 0x3f)) << 12; |
166 | value |= (*p++ & 0x3f) << 6; | 166 | value |= (*p++ & 0x3f) << 6; |
167 | value |= *p++ & 0x3f; | 167 | value |= *p++ & 0x3f; |
168 | if(value < 0x4000000) return -4; | 168 | if(value < 0x4000000) return -4; |
diff --git a/src/lib/libcrypto/asn1/a_verify.c b/src/lib/libcrypto/asn1/a_verify.c index d4aede85c3..2a11927e5c 100644 --- a/src/lib/libcrypto/asn1/a_verify.c +++ b/src/lib/libcrypto/asn1/a_verify.c | |||
@@ -88,7 +88,7 @@ int ASN1_verify(int (*i2d)(), X509_ALGOR *a, ASN1_BIT_STRING *signature, | |||
88 | } | 88 | } |
89 | 89 | ||
90 | inl=i2d(data,NULL); | 90 | inl=i2d(data,NULL); |
91 | buf_in=Malloc((unsigned int)inl); | 91 | buf_in=OPENSSL_malloc((unsigned int)inl); |
92 | if (buf_in == NULL) | 92 | if (buf_in == NULL) |
93 | { | 93 | { |
94 | ASN1err(ASN1_F_ASN1_VERIFY,ERR_R_MALLOC_FAILURE); | 94 | ASN1err(ASN1_F_ASN1_VERIFY,ERR_R_MALLOC_FAILURE); |
@@ -101,7 +101,7 @@ int ASN1_verify(int (*i2d)(), X509_ALGOR *a, ASN1_BIT_STRING *signature, | |||
101 | EVP_VerifyUpdate(&ctx,(unsigned char *)buf_in,inl); | 101 | EVP_VerifyUpdate(&ctx,(unsigned char *)buf_in,inl); |
102 | 102 | ||
103 | memset(buf_in,0,(unsigned int)inl); | 103 | memset(buf_in,0,(unsigned int)inl); |
104 | Free(buf_in); | 104 | OPENSSL_free(buf_in); |
105 | 105 | ||
106 | if (EVP_VerifyFinal(&ctx,(unsigned char *)signature->data, | 106 | if (EVP_VerifyFinal(&ctx,(unsigned char *)signature->data, |
107 | (unsigned int)signature->length,pkey) <= 0) | 107 | (unsigned int)signature->length,pkey) <= 0) |
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index 99bd64a11e..6f956b1963 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h | |||
@@ -59,17 +59,18 @@ | |||
59 | #ifndef HEADER_ASN1_H | 59 | #ifndef HEADER_ASN1_H |
60 | #define HEADER_ASN1_H | 60 | #define HEADER_ASN1_H |
61 | 61 | ||
62 | #ifdef __cplusplus | ||
63 | extern "C" { | ||
64 | #endif | ||
65 | |||
66 | #include <time.h> | 62 | #include <time.h> |
63 | #ifndef NO_BIO | ||
64 | #include <openssl/bio.h> | ||
65 | #endif | ||
67 | #include <openssl/bn.h> | 66 | #include <openssl/bn.h> |
68 | #include <openssl/stack.h> | 67 | #include <openssl/stack.h> |
69 | #include <openssl/safestack.h> | 68 | #include <openssl/safestack.h> |
70 | 69 | ||
71 | #ifdef VMS | 70 | #include <openssl/symhacks.h> |
72 | #include <openssl/vms_idhacks.h> | 71 | |
72 | #ifdef __cplusplus | ||
73 | extern "C" { | ||
73 | #endif | 74 | #endif |
74 | 75 | ||
75 | #define V_ASN1_UNIVERSAL 0x00 | 76 | #define V_ASN1_UNIVERSAL 0x00 |
@@ -82,12 +83,15 @@ extern "C" { | |||
82 | #define V_ASN1_PRIMATIVE_TAG 0x1f | 83 | #define V_ASN1_PRIMATIVE_TAG 0x1f |
83 | 84 | ||
84 | #define V_ASN1_APP_CHOOSE -2 /* let the recipient choose */ | 85 | #define V_ASN1_APP_CHOOSE -2 /* let the recipient choose */ |
86 | #define V_ASN1_OTHER -3 /* used in ASN1_TYPE */ | ||
87 | |||
88 | #define V_ASN1_NEG 0x100 /* negative flag */ | ||
85 | 89 | ||
86 | #define V_ASN1_UNDEF -1 | 90 | #define V_ASN1_UNDEF -1 |
87 | #define V_ASN1_EOC 0 | 91 | #define V_ASN1_EOC 0 |
88 | #define V_ASN1_BOOLEAN 1 /**/ | 92 | #define V_ASN1_BOOLEAN 1 /**/ |
89 | #define V_ASN1_INTEGER 2 | 93 | #define V_ASN1_INTEGER 2 |
90 | #define V_ASN1_NEG_INTEGER (2+0x100) | 94 | #define V_ASN1_NEG_INTEGER (2 | V_ASN1_NEG) |
91 | #define V_ASN1_BIT_STRING 3 | 95 | #define V_ASN1_BIT_STRING 3 |
92 | #define V_ASN1_OCTET_STRING 4 | 96 | #define V_ASN1_OCTET_STRING 4 |
93 | #define V_ASN1_NULL 5 | 97 | #define V_ASN1_NULL 5 |
@@ -96,7 +100,7 @@ extern "C" { | |||
96 | #define V_ASN1_EXTERNAL 8 | 100 | #define V_ASN1_EXTERNAL 8 |
97 | #define V_ASN1_REAL 9 | 101 | #define V_ASN1_REAL 9 |
98 | #define V_ASN1_ENUMERATED 10 | 102 | #define V_ASN1_ENUMERATED 10 |
99 | #define V_ASN1_NEG_ENUMERATED (10+0x100) | 103 | #define V_ASN1_NEG_ENUMERATED (10 | V_ASN1_NEG) |
100 | #define V_ASN1_UTF8STRING 12 | 104 | #define V_ASN1_UTF8STRING 12 |
101 | #define V_ASN1_SEQUENCE 16 | 105 | #define V_ASN1_SEQUENCE 16 |
102 | #define V_ASN1_SET 17 | 106 | #define V_ASN1_SET 17 |
@@ -140,32 +144,10 @@ extern "C" { | |||
140 | #define MBSTRING_UNIV (MBSTRING_FLAG|3) | 144 | #define MBSTRING_UNIV (MBSTRING_FLAG|3) |
141 | #define MBSTRING_UTF8 (MBSTRING_FLAG|4) | 145 | #define MBSTRING_UTF8 (MBSTRING_FLAG|4) |
142 | 146 | ||
143 | #define DECLARE_ASN1_SET_OF(type) \ | 147 | struct X509_algor_st; |
144 | int i2d_ASN1_SET_OF_##type(STACK_OF(type) *a,unsigned char **pp, \ | 148 | |
145 | int (*func)(type *,unsigned char **), int ex_tag, \ | 149 | #define DECLARE_ASN1_SET_OF(type) /* filled in by mkstack.pl */ |
146 | int ex_class, int is_set); \ | 150 | #define IMPLEMENT_ASN1_SET_OF(type) /* nothing, no longer needed */ |
147 | STACK_OF(type) *d2i_ASN1_SET_OF_##type(STACK_OF(type) **a,unsigned char **pp, \ | ||
148 | long length, \ | ||
149 | type *(*func)(type **, \ | ||
150 | unsigned char **,long), \ | ||
151 | void (*free_func)(type *), \ | ||
152 | int ex_tag,int ex_class); | ||
153 | |||
154 | #define IMPLEMENT_ASN1_SET_OF(type) \ | ||
155 | int i2d_ASN1_SET_OF_##type(STACK_OF(type) *a,unsigned char **pp, \ | ||
156 | int (*func)(type *,unsigned char **), int ex_tag, \ | ||
157 | int ex_class, int is_set) \ | ||
158 | { return i2d_ASN1_SET((STACK *)a,pp,func,ex_tag,ex_class,is_set); } \ | ||
159 | STACK_OF(type) *d2i_ASN1_SET_OF_##type(STACK_OF(type) **a,unsigned char **pp, \ | ||
160 | long length, \ | ||
161 | type *(*func)(type **, \ | ||
162 | unsigned char **,long), \ | ||
163 | void (*free_func)(type *), \ | ||
164 | int ex_tag,int ex_class) \ | ||
165 | { return (STACK_OF(type) *)d2i_ASN1_SET((STACK **)a,pp,length, \ | ||
166 | (char *(*)())func, \ | ||
167 | (void (*)())free_func, \ | ||
168 | ex_tag,ex_class); } | ||
169 | 151 | ||
170 | typedef struct asn1_ctx_st | 152 | typedef struct asn1_ctx_st |
171 | { | 153 | { |
@@ -254,6 +236,7 @@ DECLARE_STACK_OF(ASN1_STRING_TABLE) | |||
254 | #define ASN1_BMPSTRING ASN1_STRING | 236 | #define ASN1_BMPSTRING ASN1_STRING |
255 | #define ASN1_VISIBLESTRING ASN1_STRING | 237 | #define ASN1_VISIBLESTRING ASN1_STRING |
256 | #define ASN1_UTF8STRING ASN1_STRING | 238 | #define ASN1_UTF8STRING ASN1_STRING |
239 | #define ASN1_BOOLEAN int | ||
257 | #else | 240 | #else |
258 | typedef struct asn1_string_st ASN1_INTEGER; | 241 | typedef struct asn1_string_st ASN1_INTEGER; |
259 | typedef struct asn1_string_st ASN1_ENUMERATED; | 242 | typedef struct asn1_string_st ASN1_ENUMERATED; |
@@ -270,15 +253,99 @@ typedef struct asn1_string_st ASN1_TIME; | |||
270 | typedef struct asn1_string_st ASN1_GENERALIZEDTIME; | 253 | typedef struct asn1_string_st ASN1_GENERALIZEDTIME; |
271 | typedef struct asn1_string_st ASN1_VISIBLESTRING; | 254 | typedef struct asn1_string_st ASN1_VISIBLESTRING; |
272 | typedef struct asn1_string_st ASN1_UTF8STRING; | 255 | typedef struct asn1_string_st ASN1_UTF8STRING; |
256 | typedef int ASN1_BOOLEAN; | ||
273 | #endif | 257 | #endif |
274 | 258 | ||
275 | typedef int ASN1_NULL; | 259 | typedef int ASN1_NULL; |
276 | 260 | ||
261 | /* Parameters used by ASN1_STRING_print_ex() */ | ||
262 | |||
263 | /* These determine which characters to escape: | ||
264 | * RFC2253 special characters, control characters and | ||
265 | * MSB set characters | ||
266 | */ | ||
267 | |||
268 | #define ASN1_STRFLGS_ESC_2253 1 | ||
269 | #define ASN1_STRFLGS_ESC_CTRL 2 | ||
270 | #define ASN1_STRFLGS_ESC_MSB 4 | ||
271 | |||
272 | |||
273 | /* This flag determines how we do escaping: normally | ||
274 | * RC2253 backslash only, set this to use backslash and | ||
275 | * quote. | ||
276 | */ | ||
277 | |||
278 | #define ASN1_STRFLGS_ESC_QUOTE 8 | ||
279 | |||
280 | |||
281 | /* These three flags are internal use only. */ | ||
282 | |||
283 | /* Character is a valid PrintableString character */ | ||
284 | #define CHARTYPE_PRINTABLESTRING 0x10 | ||
285 | /* Character needs escaping if it is the first character */ | ||
286 | #define CHARTYPE_FIRST_ESC_2253 0x20 | ||
287 | /* Character needs escaping if it is the last character */ | ||
288 | #define CHARTYPE_LAST_ESC_2253 0x40 | ||
289 | |||
290 | /* NB the internal flags are safely reused below by flags | ||
291 | * handled at the top level. | ||
292 | */ | ||
293 | |||
294 | /* If this is set we convert all character strings | ||
295 | * to UTF8 first | ||
296 | */ | ||
297 | |||
298 | #define ASN1_STRFLGS_UTF8_CONVERT 0x10 | ||
299 | |||
300 | /* If this is set we don't attempt to interpret content: | ||
301 | * just assume all strings are 1 byte per character. This | ||
302 | * will produce some pretty odd looking output! | ||
303 | */ | ||
304 | |||
305 | #define ASN1_STRFLGS_IGNORE_TYPE 0x20 | ||
306 | |||
307 | /* If this is set we include the string type in the output */ | ||
308 | #define ASN1_STRFLGS_SHOW_TYPE 0x40 | ||
309 | |||
310 | /* This determines which strings to display and which to | ||
311 | * 'dump' (hex dump of content octets or DER encoding). We can | ||
312 | * only dump non character strings or everything. If we | ||
313 | * don't dump 'unknown' they are interpreted as character | ||
314 | * strings with 1 octet per character and are subject to | ||
315 | * the usual escaping options. | ||
316 | */ | ||
317 | |||
318 | #define ASN1_STRFLGS_DUMP_ALL 0x80 | ||
319 | #define ASN1_STRFLGS_DUMP_UNKNOWN 0x100 | ||
320 | |||
321 | /* These determine what 'dumping' does, we can dump the | ||
322 | * content octets or the DER encoding: both use the | ||
323 | * RFC2253 #XXXXX notation. | ||
324 | */ | ||
325 | |||
326 | #define ASN1_STRFLGS_DUMP_DER 0x200 | ||
327 | |||
328 | /* All the string flags consistent with RFC2253, | ||
329 | * escaping control characters isn't essential in | ||
330 | * RFC2253 but it is advisable anyway. | ||
331 | */ | ||
332 | |||
333 | #define ASN1_STRFLGS_RFC2253 (ASN1_STRFLGS_ESC_2253 | \ | ||
334 | ASN1_STRFLGS_ESC_CTRL | \ | ||
335 | ASN1_STRFLGS_ESC_MSB | \ | ||
336 | ASN1_STRFLGS_UTF8_CONVERT | \ | ||
337 | ASN1_STRFLGS_DUMP_UNKNOWN | \ | ||
338 | ASN1_STRFLGS_DUMP_DER) | ||
339 | |||
340 | DECLARE_STACK_OF(ASN1_INTEGER) | ||
341 | DECLARE_ASN1_SET_OF(ASN1_INTEGER) | ||
342 | |||
277 | typedef struct asn1_type_st | 343 | typedef struct asn1_type_st |
278 | { | 344 | { |
279 | int type; | 345 | int type; |
280 | union { | 346 | union { |
281 | char *ptr; | 347 | char *ptr; |
348 | ASN1_BOOLEAN boolean; | ||
282 | ASN1_STRING * asn1_string; | 349 | ASN1_STRING * asn1_string; |
283 | ASN1_OBJECT * object; | 350 | ASN1_OBJECT * object; |
284 | ASN1_INTEGER * integer; | 351 | ASN1_INTEGER * integer; |
@@ -520,6 +587,8 @@ void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); | |||
520 | ASN1_OBJECT * ASN1_OBJECT_new(void ); | 587 | ASN1_OBJECT * ASN1_OBJECT_new(void ); |
521 | void ASN1_OBJECT_free(ASN1_OBJECT *a); | 588 | void ASN1_OBJECT_free(ASN1_OBJECT *a); |
522 | int i2d_ASN1_OBJECT(ASN1_OBJECT *a,unsigned char **pp); | 589 | int i2d_ASN1_OBJECT(ASN1_OBJECT *a,unsigned char **pp); |
590 | ASN1_OBJECT * c2i_ASN1_OBJECT(ASN1_OBJECT **a,unsigned char **pp, | ||
591 | long length); | ||
523 | ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a,unsigned char **pp, | 592 | ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a,unsigned char **pp, |
524 | long length); | 593 | long length); |
525 | 594 | ||
@@ -542,14 +611,17 @@ unsigned char * ASN1_STRING_data(ASN1_STRING *x); | |||
542 | ASN1_BIT_STRING * ASN1_BIT_STRING_new(void); | 611 | ASN1_BIT_STRING * ASN1_BIT_STRING_new(void); |
543 | void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a); | 612 | void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a); |
544 | int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp); | 613 | int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp); |
614 | int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp); | ||
545 | ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,unsigned char **pp, | 615 | ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,unsigned char **pp, |
546 | long length); | 616 | long length); |
617 | ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,unsigned char **pp, | ||
618 | long length); | ||
547 | int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, | 619 | int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, |
548 | int length ); | 620 | int length ); |
549 | int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value); | 621 | int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value); |
550 | int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n); | 622 | int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n); |
551 | 623 | ||
552 | #ifdef HEADER_BIO_H | 624 | #ifndef NO_BIO |
553 | int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, | 625 | int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, |
554 | BIT_STRING_BITNAME *tbl, int indent); | 626 | BIT_STRING_BITNAME *tbl, int indent); |
555 | #endif | 627 | #endif |
@@ -563,8 +635,11 @@ int d2i_ASN1_BOOLEAN(int *a,unsigned char **pp,long length); | |||
563 | ASN1_INTEGER * ASN1_INTEGER_new(void); | 635 | ASN1_INTEGER * ASN1_INTEGER_new(void); |
564 | void ASN1_INTEGER_free(ASN1_INTEGER *a); | 636 | void ASN1_INTEGER_free(ASN1_INTEGER *a); |
565 | int i2d_ASN1_INTEGER(ASN1_INTEGER *a,unsigned char **pp); | 637 | int i2d_ASN1_INTEGER(ASN1_INTEGER *a,unsigned char **pp); |
638 | int i2c_ASN1_INTEGER(ASN1_INTEGER *a,unsigned char **pp); | ||
566 | ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a,unsigned char **pp, | 639 | ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a,unsigned char **pp, |
567 | long length); | 640 | long length); |
641 | ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a,unsigned char **pp, | ||
642 | long length); | ||
568 | ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a,unsigned char **pp, | 643 | ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a,unsigned char **pp, |
569 | long length); | 644 | long length); |
570 | ASN1_INTEGER * ASN1_INTEGER_dup(ASN1_INTEGER *x); | 645 | ASN1_INTEGER * ASN1_INTEGER_dup(ASN1_INTEGER *x); |
@@ -579,6 +654,10 @@ ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a,unsigned char **pp, | |||
579 | int ASN1_UTCTIME_check(ASN1_UTCTIME *a); | 654 | int ASN1_UTCTIME_check(ASN1_UTCTIME *a); |
580 | ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s,time_t t); | 655 | ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s,time_t t); |
581 | int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, char *str); | 656 | int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, char *str); |
657 | int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); | ||
658 | #if 0 | ||
659 | time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s); | ||
660 | #endif | ||
582 | 661 | ||
583 | int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a); | 662 | int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a); |
584 | ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,time_t t); | 663 | ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,time_t t); |
@@ -673,10 +752,10 @@ ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s,time_t t); | |||
673 | int i2d_ASN1_SET(STACK *a, unsigned char **pp, | 752 | int i2d_ASN1_SET(STACK *a, unsigned char **pp, |
674 | int (*func)(), int ex_tag, int ex_class, int is_set); | 753 | int (*func)(), int ex_tag, int ex_class, int is_set); |
675 | STACK * d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, | 754 | STACK * d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, |
676 | char *(*func)(), void (*free_func)(), | 755 | char *(*func)(), void (*free_func)(void *), |
677 | int ex_tag, int ex_class); | 756 | int ex_tag, int ex_class); |
678 | 757 | ||
679 | #ifdef HEADER_BIO_H | 758 | #ifndef NO_BIO |
680 | int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a); | 759 | int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a); |
681 | int a2i_ASN1_INTEGER(BIO *bp,ASN1_INTEGER *bs,char *buf,int size); | 760 | int a2i_ASN1_INTEGER(BIO *bp,ASN1_INTEGER *bs,char *buf,int size); |
682 | int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a); | 761 | int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a); |
@@ -729,16 +808,21 @@ char *ASN1_dup(int (*i2d)(),char *(*d2i)(),char *x); | |||
729 | #ifndef NO_FP_API | 808 | #ifndef NO_FP_API |
730 | char *ASN1_d2i_fp(char *(*xnew)(),char *(*d2i)(),FILE *fp,unsigned char **x); | 809 | char *ASN1_d2i_fp(char *(*xnew)(),char *(*d2i)(),FILE *fp,unsigned char **x); |
731 | int ASN1_i2d_fp(int (*i2d)(),FILE *out,unsigned char *x); | 810 | int ASN1_i2d_fp(int (*i2d)(),FILE *out,unsigned char *x); |
811 | int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags); | ||
732 | #endif | 812 | #endif |
733 | 813 | ||
734 | #ifdef HEADER_BIO_H | 814 | int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in); |
815 | |||
816 | #ifndef NO_BIO | ||
735 | char *ASN1_d2i_bio(char *(*xnew)(),char *(*d2i)(),BIO *bp,unsigned char **x); | 817 | char *ASN1_d2i_bio(char *(*xnew)(),char *(*d2i)(),BIO *bp,unsigned char **x); |
736 | int ASN1_i2d_bio(int (*i2d)(),BIO *out,unsigned char *x); | 818 | int ASN1_i2d_bio(int (*i2d)(),BIO *out,unsigned char *x); |
737 | int ASN1_UTCTIME_print(BIO *fp,ASN1_UTCTIME *a); | 819 | int ASN1_UTCTIME_print(BIO *fp,ASN1_UTCTIME *a); |
738 | int ASN1_GENERALIZEDTIME_print(BIO *fp,ASN1_GENERALIZEDTIME *a); | 820 | int ASN1_GENERALIZEDTIME_print(BIO *fp,ASN1_GENERALIZEDTIME *a); |
739 | int ASN1_TIME_print(BIO *fp,ASN1_TIME *a); | 821 | int ASN1_TIME_print(BIO *fp,ASN1_TIME *a); |
740 | int ASN1_STRING_print(BIO *bp,ASN1_STRING *v); | 822 | int ASN1_STRING_print(BIO *bp,ASN1_STRING *v); |
823 | int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags); | ||
741 | int ASN1_parse(BIO *bp,unsigned char *pp,long len,int indent); | 824 | int ASN1_parse(BIO *bp,unsigned char *pp,long len,int indent); |
825 | int ASN1_parse_dump(BIO *bp,unsigned char *pp,long len,int indent,int dump); | ||
742 | #endif | 826 | #endif |
743 | const char *ASN1_tag2str(int tag); | 827 | const char *ASN1_tag2str(int tag); |
744 | 828 | ||
@@ -768,9 +852,9 @@ int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a,long *num, | |||
768 | unsigned char *data, int max_len); | 852 | unsigned char *data, int max_len); |
769 | 853 | ||
770 | STACK *ASN1_seq_unpack(unsigned char *buf, int len, char *(*d2i)(), | 854 | STACK *ASN1_seq_unpack(unsigned char *buf, int len, char *(*d2i)(), |
771 | void (*free_func)() ); | 855 | void (*free_func)(void *) ); |
772 | unsigned char *ASN1_seq_pack(STACK *safes, int (*i2d)(), unsigned char **buf, | 856 | unsigned char *ASN1_seq_pack(STACK *safes, int (*i2d)(), unsigned char **buf, |
773 | int *len ); | 857 | int *len ); |
774 | void *ASN1_unpack_string(ASN1_STRING *oct, char *(*d2i)()); | 858 | void *ASN1_unpack_string(ASN1_STRING *oct, char *(*d2i)()); |
775 | ASN1_STRING *ASN1_pack_string(void *obj, int (*i2d)(), ASN1_OCTET_STRING **oct); | 859 | ASN1_STRING *ASN1_pack_string(void *obj, int (*i2d)(), ASN1_OCTET_STRING **oct); |
776 | 860 | ||
diff --git a/src/lib/libcrypto/asn1/asn1_lib.c b/src/lib/libcrypto/asn1/asn1_lib.c index be8daa8688..77447a5240 100644 --- a/src/lib/libcrypto/asn1/asn1_lib.c +++ b/src/lib/libcrypto/asn1/asn1_lib.c | |||
@@ -181,7 +181,7 @@ void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, | |||
181 | int xclass) | 181 | int xclass) |
182 | { | 182 | { |
183 | unsigned char *p= *pp; | 183 | unsigned char *p= *pp; |
184 | int i; | 184 | int i, ttag; |
185 | 185 | ||
186 | i=(constructed)?V_ASN1_CONSTRUCTED:0; | 186 | i=(constructed)?V_ASN1_CONSTRUCTED:0; |
187 | i|=(xclass&V_ASN1_PRIVATE); | 187 | i|=(xclass&V_ASN1_PRIVATE); |
@@ -190,12 +190,15 @@ void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, | |||
190 | else | 190 | else |
191 | { | 191 | { |
192 | *(p++)=i|V_ASN1_PRIMITIVE_TAG; | 192 | *(p++)=i|V_ASN1_PRIMITIVE_TAG; |
193 | while (tag > 0x7f) | 193 | for(i = 0, ttag = tag; ttag > 0; i++) ttag >>=7; |
194 | ttag = i; | ||
195 | while(i-- > 0) | ||
194 | { | 196 | { |
195 | *(p++)=(tag&0x7f)|0x80; | 197 | p[i] = tag & 0x7f; |
196 | tag>>=7; | 198 | if(i != (ttag - 1)) p[i] |= 0x80; |
199 | tag >>= 7; | ||
197 | } | 200 | } |
198 | *(p++)=(tag&0x7f); | 201 | p += ttag; |
199 | } | 202 | } |
200 | if ((constructed == 2) && (length == 0)) | 203 | if ((constructed == 2) && (length == 0)) |
201 | *(p++)=0x80; /* der_put_length would output 0 instead */ | 204 | *(p++)=0x80; /* der_put_length would output 0 instead */ |
@@ -335,9 +338,9 @@ int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len) | |||
335 | { | 338 | { |
336 | c=str->data; | 339 | c=str->data; |
337 | if (c == NULL) | 340 | if (c == NULL) |
338 | str->data=Malloc(len+1); | 341 | str->data=OPENSSL_malloc(len+1); |
339 | else | 342 | else |
340 | str->data=Realloc(c,len+1); | 343 | str->data=OPENSSL_realloc(c,len+1); |
341 | 344 | ||
342 | if (str->data == NULL) | 345 | if (str->data == NULL) |
343 | { | 346 | { |
@@ -365,7 +368,7 @@ ASN1_STRING *ASN1_STRING_type_new(int type) | |||
365 | { | 368 | { |
366 | ASN1_STRING *ret; | 369 | ASN1_STRING *ret; |
367 | 370 | ||
368 | ret=(ASN1_STRING *)Malloc(sizeof(ASN1_STRING)); | 371 | ret=(ASN1_STRING *)OPENSSL_malloc(sizeof(ASN1_STRING)); |
369 | if (ret == NULL) | 372 | if (ret == NULL) |
370 | { | 373 | { |
371 | ASN1err(ASN1_F_ASN1_STRING_TYPE_NEW,ERR_R_MALLOC_FAILURE); | 374 | ASN1err(ASN1_F_ASN1_STRING_TYPE_NEW,ERR_R_MALLOC_FAILURE); |
@@ -381,8 +384,8 @@ ASN1_STRING *ASN1_STRING_type_new(int type) | |||
381 | void ASN1_STRING_free(ASN1_STRING *a) | 384 | void ASN1_STRING_free(ASN1_STRING *a) |
382 | { | 385 | { |
383 | if (a == NULL) return; | 386 | if (a == NULL) return; |
384 | if (a->data != NULL) Free(a->data); | 387 | if (a->data != NULL) OPENSSL_free(a->data); |
385 | Free(a); | 388 | OPENSSL_free(a); |
386 | } | 389 | } |
387 | 390 | ||
388 | int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b) | 391 | int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b) |
diff --git a/src/lib/libcrypto/asn1/asn1_mac.h b/src/lib/libcrypto/asn1/asn1_mac.h index 4f2a82d340..4512ba6cc6 100644 --- a/src/lib/libcrypto/asn1/asn1_mac.h +++ b/src/lib/libcrypto/asn1/asn1_mac.h | |||
@@ -59,12 +59,12 @@ | |||
59 | #ifndef HEADER_ASN1_MAC_H | 59 | #ifndef HEADER_ASN1_MAC_H |
60 | #define HEADER_ASN1_MAC_H | 60 | #define HEADER_ASN1_MAC_H |
61 | 61 | ||
62 | #include <openssl/asn1.h> | ||
63 | |||
62 | #ifdef __cplusplus | 64 | #ifdef __cplusplus |
63 | extern "C" { | 65 | extern "C" { |
64 | #endif | 66 | #endif |
65 | 67 | ||
66 | #include <openssl/asn1.h> | ||
67 | |||
68 | #ifndef ASN1_MAC_ERR_LIB | 68 | #ifndef ASN1_MAC_ERR_LIB |
69 | #define ASN1_MAC_ERR_LIB ERR_LIB_ASN1 | 69 | #define ASN1_MAC_ERR_LIB ERR_LIB_ASN1 |
70 | #endif | 70 | #endif |
@@ -340,7 +340,7 @@ err:\ | |||
340 | 340 | ||
341 | /* New macros */ | 341 | /* New macros */ |
342 | #define M_ASN1_New_Malloc(ret,type) \ | 342 | #define M_ASN1_New_Malloc(ret,type) \ |
343 | if ((ret=(type *)Malloc(sizeof(type))) == NULL) \ | 343 | if ((ret=(type *)OPENSSL_malloc(sizeof(type))) == NULL) \ |
344 | { c.line=__LINE__; goto err2; } | 344 | { c.line=__LINE__; goto err2; } |
345 | 345 | ||
346 | #define M_ASN1_New(arg,func) \ | 346 | #define M_ASN1_New(arg,func) \ |
diff --git a/src/lib/libcrypto/asn1/asn1_par.c b/src/lib/libcrypto/asn1/asn1_par.c index d1e9816bad..facfdd27fc 100644 --- a/src/lib/libcrypto/asn1/asn1_par.c +++ b/src/lib/libcrypto/asn1/asn1_par.c | |||
@@ -65,7 +65,7 @@ | |||
65 | static int asn1_print_info(BIO *bp, int tag, int xclass,int constructed, | 65 | static int asn1_print_info(BIO *bp, int tag, int xclass,int constructed, |
66 | int indent); | 66 | int indent); |
67 | static int asn1_parse2(BIO *bp, unsigned char **pp, long length, | 67 | static int asn1_parse2(BIO *bp, unsigned char **pp, long length, |
68 | int offset, int depth, int indent); | 68 | int offset, int depth, int indent, int dump); |
69 | static int asn1_print_info(BIO *bp, int tag, int xclass, int constructed, | 69 | static int asn1_print_info(BIO *bp, int tag, int xclass, int constructed, |
70 | int indent) | 70 | int indent) |
71 | { | 71 | { |
@@ -110,11 +110,16 @@ err: | |||
110 | 110 | ||
111 | int ASN1_parse(BIO *bp, unsigned char *pp, long len, int indent) | 111 | int ASN1_parse(BIO *bp, unsigned char *pp, long len, int indent) |
112 | { | 112 | { |
113 | return(asn1_parse2(bp,&pp,len,0,0,indent)); | 113 | return(asn1_parse2(bp,&pp,len,0,0,indent,0)); |
114 | } | ||
115 | |||
116 | int ASN1_parse_dump(BIO *bp, unsigned char *pp, long len, int indent, int dump) | ||
117 | { | ||
118 | return(asn1_parse2(bp,&pp,len,0,0,indent,dump)); | ||
114 | } | 119 | } |
115 | 120 | ||
116 | static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset, | 121 | static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset, |
117 | int depth, int indent) | 122 | int depth, int indent, int dump) |
118 | { | 123 | { |
119 | unsigned char *p,*ep,*tot,*op,*opp; | 124 | unsigned char *p,*ep,*tot,*op,*opp; |
120 | long len; | 125 | long len; |
@@ -123,7 +128,13 @@ static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset, | |||
123 | ASN1_OBJECT *o=NULL; | 128 | ASN1_OBJECT *o=NULL; |
124 | ASN1_OCTET_STRING *os=NULL; | 129 | ASN1_OCTET_STRING *os=NULL; |
125 | /* ASN1_BMPSTRING *bmp=NULL;*/ | 130 | /* ASN1_BMPSTRING *bmp=NULL;*/ |
131 | int dump_indent; | ||
126 | 132 | ||
133 | #if 0 | ||
134 | dump_indent = indent; | ||
135 | #else | ||
136 | dump_indent = 6; /* Because we know BIO_dump_indent() */ | ||
137 | #endif | ||
127 | p= *pp; | 138 | p= *pp; |
128 | tot=p+length; | 139 | tot=p+length; |
129 | op=p-1; | 140 | op=p-1; |
@@ -178,7 +189,7 @@ static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset, | |||
178 | { | 189 | { |
179 | r=asn1_parse2(bp,&p,(long)(tot-p), | 190 | r=asn1_parse2(bp,&p,(long)(tot-p), |
180 | offset+(p - *pp),depth+1, | 191 | offset+(p - *pp),depth+1, |
181 | indent); | 192 | indent,dump); |
182 | if (r == 0) { ret=0; goto end; } | 193 | if (r == 0) { ret=0; goto end; } |
183 | if ((r == 2) || (p >= tot)) break; | 194 | if ((r == 2) || (p >= tot)) break; |
184 | } | 195 | } |
@@ -188,7 +199,7 @@ static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset, | |||
188 | { | 199 | { |
189 | r=asn1_parse2(bp,&p,(long)len, | 200 | r=asn1_parse2(bp,&p,(long)len, |
190 | offset+(p - *pp),depth+1, | 201 | offset+(p - *pp),depth+1, |
191 | indent); | 202 | indent,dump); |
192 | if (r == 0) { ret=0; goto end; } | 203 | if (r == 0) { ret=0; goto end; } |
193 | } | 204 | } |
194 | } | 205 | } |
@@ -273,6 +284,20 @@ static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset, | |||
273 | os->length) <= 0) | 284 | os->length) <= 0) |
274 | goto end; | 285 | goto end; |
275 | } | 286 | } |
287 | if (!printable && (os->length > 0) | ||
288 | && dump) | ||
289 | { | ||
290 | if (!nl) | ||
291 | { | ||
292 | if (BIO_write(bp,"\n",1) <= 0) | ||
293 | goto end; | ||
294 | } | ||
295 | if (BIO_dump_indent(bp,(char *)opp, | ||
296 | ((dump == -1 || dump > os->length)?os->length:dump), | ||
297 | dump_indent) <= 0) | ||
298 | goto end; | ||
299 | nl=1; | ||
300 | } | ||
276 | M_ASN1_OCTET_STRING_free(os); | 301 | M_ASN1_OCTET_STRING_free(os); |
277 | os=NULL; | 302 | os=NULL; |
278 | } | 303 | } |
@@ -341,6 +366,19 @@ static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset, | |||
341 | } | 366 | } |
342 | M_ASN1_ENUMERATED_free(bs); | 367 | M_ASN1_ENUMERATED_free(bs); |
343 | } | 368 | } |
369 | else if (len > 0 && dump) | ||
370 | { | ||
371 | if (!nl) | ||
372 | { | ||
373 | if (BIO_write(bp,"\n",1) <= 0) | ||
374 | goto end; | ||
375 | } | ||
376 | if (BIO_dump_indent(bp,(char *)p, | ||
377 | ((dump == -1 || dump > len)?len:dump), | ||
378 | dump_indent) <= 0) | ||
379 | goto end; | ||
380 | nl=1; | ||
381 | } | ||
344 | 382 | ||
345 | if (!nl) | 383 | if (!nl) |
346 | { | 384 | { |
diff --git a/src/lib/libcrypto/asn1/asn_pack.c b/src/lib/libcrypto/asn1/asn_pack.c index 662a2626a1..bdf5f130b3 100644 --- a/src/lib/libcrypto/asn1/asn_pack.c +++ b/src/lib/libcrypto/asn1/asn_pack.c | |||
@@ -65,7 +65,7 @@ | |||
65 | /* Turn an ASN1 encoded SEQUENCE OF into a STACK of structures */ | 65 | /* Turn an ASN1 encoded SEQUENCE OF into a STACK of structures */ |
66 | 66 | ||
67 | STACK *ASN1_seq_unpack(unsigned char *buf, int len, char *(*d2i)(), | 67 | STACK *ASN1_seq_unpack(unsigned char *buf, int len, char *(*d2i)(), |
68 | void (*free_func)()) | 68 | void (*free_func)(void *)) |
69 | { | 69 | { |
70 | STACK *sk; | 70 | STACK *sk; |
71 | unsigned char *pbuf; | 71 | unsigned char *pbuf; |
@@ -77,7 +77,7 @@ STACK *ASN1_seq_unpack(unsigned char *buf, int len, char *(*d2i)(), | |||
77 | } | 77 | } |
78 | 78 | ||
79 | /* Turn a STACK structures into an ASN1 encoded SEQUENCE OF structure in a | 79 | /* Turn a STACK structures into an ASN1 encoded SEQUENCE OF structure in a |
80 | * Malloc'ed buffer | 80 | * OPENSSL_malloc'ed buffer |
81 | */ | 81 | */ |
82 | 82 | ||
83 | unsigned char *ASN1_seq_pack(STACK *safes, int (*i2d)(), unsigned char **buf, | 83 | unsigned char *ASN1_seq_pack(STACK *safes, int (*i2d)(), unsigned char **buf, |
@@ -90,7 +90,7 @@ unsigned char *ASN1_seq_pack(STACK *safes, int (*i2d)(), unsigned char **buf, | |||
90 | ASN1err(ASN1_F_ASN1_SEQ_PACK,ASN1_R_ENCODE_ERROR); | 90 | ASN1err(ASN1_F_ASN1_SEQ_PACK,ASN1_R_ENCODE_ERROR); |
91 | return NULL; | 91 | return NULL; |
92 | } | 92 | } |
93 | if (!(safe = Malloc (safelen))) { | 93 | if (!(safe = OPENSSL_malloc (safelen))) { |
94 | ASN1err(ASN1_F_ASN1_SEQ_PACK,ERR_R_MALLOC_FAILURE); | 94 | ASN1err(ASN1_F_ASN1_SEQ_PACK,ERR_R_MALLOC_FAILURE); |
95 | return NULL; | 95 | return NULL; |
96 | } | 96 | } |
@@ -134,7 +134,7 @@ ASN1_STRING *ASN1_pack_string (void *obj, int (*i2d)(), ASN1_STRING **oct) | |||
134 | ASN1err(ASN1_F_ASN1_PACK_STRING,ASN1_R_ENCODE_ERROR); | 134 | ASN1err(ASN1_F_ASN1_PACK_STRING,ASN1_R_ENCODE_ERROR); |
135 | return NULL; | 135 | return NULL; |
136 | } | 136 | } |
137 | if (!(p = Malloc (octmp->length))) { | 137 | if (!(p = OPENSSL_malloc (octmp->length))) { |
138 | ASN1err(ASN1_F_ASN1_PACK_STRING,ERR_R_MALLOC_FAILURE); | 138 | ASN1err(ASN1_F_ASN1_PACK_STRING,ERR_R_MALLOC_FAILURE); |
139 | return NULL; | 139 | return NULL; |
140 | } | 140 | } |
diff --git a/src/lib/libcrypto/asn1/charmap.h b/src/lib/libcrypto/asn1/charmap.h new file mode 100644 index 0000000000..bd020a9562 --- /dev/null +++ b/src/lib/libcrypto/asn1/charmap.h | |||
@@ -0,0 +1,15 @@ | |||
1 | /* Auto generated with chartype.pl script. | ||
2 | * Mask of various character properties | ||
3 | */ | ||
4 | |||
5 | static unsigned char char_type[] = { | ||
6 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
7 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | ||
8 | 120, 0, 1,40, 0, 0, 0,16,16,16, 0,25,25,16,16,16, | ||
9 | 16,16,16,16,16,16,16,16,16,16,16, 9, 9,16, 9,16, | ||
10 | 0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, | ||
11 | 16,16,16,16,16,16,16,16,16,16,16, 0, 1, 0, 0, 0, | ||
12 | 0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, | ||
13 | 16,16,16,16,16,16,16,16,16,16,16, 0, 0, 0, 0, 2 | ||
14 | }; | ||
15 | |||
diff --git a/src/lib/libcrypto/asn1/charmap.pl b/src/lib/libcrypto/asn1/charmap.pl new file mode 100644 index 0000000000..2875c59867 --- /dev/null +++ b/src/lib/libcrypto/asn1/charmap.pl | |||
@@ -0,0 +1,80 @@ | |||
1 | #!/usr/local/bin/perl -w | ||
2 | |||
3 | use strict; | ||
4 | |||
5 | my ($i, @arr); | ||
6 | |||
7 | # Set up an array with the type of ASCII characters | ||
8 | # Each set bit represents a character property. | ||
9 | |||
10 | # RFC2253 character properties | ||
11 | my $RFC2253_ESC = 1; # Character escaped with \ | ||
12 | my $ESC_CTRL = 2; # Escaped control character | ||
13 | # These are used with RFC1779 quoting using " | ||
14 | my $NOESC_QUOTE = 8; # Not escaped if quoted | ||
15 | my $PSTRING_CHAR = 0x10; # Valid PrintableString character | ||
16 | my $RFC2253_FIRST_ESC = 0x20; # Escaped with \ if first character | ||
17 | my $RFC2253_LAST_ESC = 0x40; # Escaped with \ if last character | ||
18 | |||
19 | for($i = 0; $i < 128; $i++) { | ||
20 | # Set the RFC2253 escape characters (control) | ||
21 | $arr[$i] = 0; | ||
22 | if(($i < 32) || ($i > 126)) { | ||
23 | $arr[$i] |= $ESC_CTRL; | ||
24 | } | ||
25 | |||
26 | # Some PrintableString characters | ||
27 | if( ( ( $i >= ord("a")) && ( $i <= ord("z")) ) | ||
28 | || ( ( $i >= ord("A")) && ( $i <= ord("Z")) ) | ||
29 | || ( ( $i >= ord("0")) && ( $i <= ord("9")) ) ) { | ||
30 | $arr[$i] |= $PSTRING_CHAR; | ||
31 | } | ||
32 | } | ||
33 | |||
34 | # Now setup the rest | ||
35 | |||
36 | # Remaining RFC2253 escaped characters | ||
37 | |||
38 | $arr[ord(" ")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC | $RFC2253_LAST_ESC; | ||
39 | $arr[ord("#")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC; | ||
40 | |||
41 | $arr[ord(",")] |= $NOESC_QUOTE | $RFC2253_ESC; | ||
42 | $arr[ord("+")] |= $NOESC_QUOTE | $RFC2253_ESC; | ||
43 | $arr[ord("\"")] |= $RFC2253_ESC; | ||
44 | $arr[ord("\\")] |= $RFC2253_ESC; | ||
45 | $arr[ord("<")] |= $NOESC_QUOTE | $RFC2253_ESC; | ||
46 | $arr[ord(">")] |= $NOESC_QUOTE | $RFC2253_ESC; | ||
47 | $arr[ord(";")] |= $NOESC_QUOTE | $RFC2253_ESC; | ||
48 | |||
49 | # Remaining PrintableString characters | ||
50 | |||
51 | $arr[ord(" ")] |= $PSTRING_CHAR; | ||
52 | $arr[ord("'")] |= $PSTRING_CHAR; | ||
53 | $arr[ord("(")] |= $PSTRING_CHAR; | ||
54 | $arr[ord(")")] |= $PSTRING_CHAR; | ||
55 | $arr[ord("+")] |= $PSTRING_CHAR; | ||
56 | $arr[ord(",")] |= $PSTRING_CHAR; | ||
57 | $arr[ord("-")] |= $PSTRING_CHAR; | ||
58 | $arr[ord(".")] |= $PSTRING_CHAR; | ||
59 | $arr[ord("/")] |= $PSTRING_CHAR; | ||
60 | $arr[ord(":")] |= $PSTRING_CHAR; | ||
61 | $arr[ord("=")] |= $PSTRING_CHAR; | ||
62 | $arr[ord("?")] |= $PSTRING_CHAR; | ||
63 | |||
64 | # Now generate the C code | ||
65 | |||
66 | print <<EOF; | ||
67 | /* Auto generated with chartype.pl script. | ||
68 | * Mask of various character properties | ||
69 | */ | ||
70 | |||
71 | static unsigned char char_type[] = { | ||
72 | EOF | ||
73 | |||
74 | for($i = 0; $i < 128; $i++) { | ||
75 | print("\n") if($i && (($i % 16) == 0)); | ||
76 | printf("%2d", $arr[$i]); | ||
77 | print(",") if ($i != 127); | ||
78 | } | ||
79 | print("\n};\n\n"); | ||
80 | |||
diff --git a/src/lib/libcrypto/asn1/d2i_dsap.c b/src/lib/libcrypto/asn1/d2i_dsap.c index 6d1c297133..9d4dea6145 100644 --- a/src/lib/libcrypto/asn1/d2i_dsap.c +++ b/src/lib/libcrypto/asn1/d2i_dsap.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/objects.h> | 64 | #include <openssl/objects.h> |
65 | #include <openssl/asn1_mac.h> | 65 | #include <openssl/asn1_mac.h> |
66 | 66 | ||
67 | #ifdef NEG_PUBKEY_BUG | 67 | #ifndef NO_NEG_PUBKEY_BUG |
68 | #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER | 68 | #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER |
69 | #endif | 69 | #endif |
70 | 70 | ||
diff --git a/src/lib/libcrypto/asn1/d2i_r_pu.c b/src/lib/libcrypto/asn1/d2i_r_pu.c index d1289f160e..9e5d41cf53 100644 --- a/src/lib/libcrypto/asn1/d2i_r_pu.c +++ b/src/lib/libcrypto/asn1/d2i_r_pu.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/objects.h> | 64 | #include <openssl/objects.h> |
65 | #include <openssl/asn1_mac.h> | 65 | #include <openssl/asn1_mac.h> |
66 | 66 | ||
67 | #ifdef NEG_PUBKEY_BUG | 67 | #ifndef NO_NEG_PUBKEY_BUG |
68 | #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER | 68 | #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER |
69 | #endif | 69 | #endif |
70 | 70 | ||
diff --git a/src/lib/libcrypto/asn1/d2i_s_pr.c b/src/lib/libcrypto/asn1/d2i_s_pr.c index dec2a2ebd3..55d5802d70 100644 --- a/src/lib/libcrypto/asn1/d2i_s_pr.c +++ b/src/lib/libcrypto/asn1/d2i_s_pr.c | |||
@@ -92,6 +92,7 @@ DSA *d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length) | |||
92 | == NULL) goto err_bn; | 92 | == NULL) goto err_bn; |
93 | 93 | ||
94 | M_ASN1_INTEGER_free(bs); | 94 | M_ASN1_INTEGER_free(bs); |
95 | bs = NULL; | ||
95 | 96 | ||
96 | M_ASN1_D2I_Finish_2(a); | 97 | M_ASN1_D2I_Finish_2(a); |
97 | err_bn: | 98 | err_bn: |
diff --git a/src/lib/libcrypto/asn1/d2i_s_pu.c b/src/lib/libcrypto/asn1/d2i_s_pu.c index e0adaa0393..0b7d2fafcc 100644 --- a/src/lib/libcrypto/asn1/d2i_s_pu.c +++ b/src/lib/libcrypto/asn1/d2i_s_pu.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/objects.h> | 66 | #include <openssl/objects.h> |
67 | #include <openssl/asn1_mac.h> | 67 | #include <openssl/asn1_mac.h> |
68 | 68 | ||
69 | #ifdef NEG_PUBKEY_BUG | 69 | #ifndef NO_NEG_PUBKEY_BUG |
70 | #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER | 70 | #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER |
71 | #endif | 71 | #endif |
72 | 72 | ||
diff --git a/src/lib/libcrypto/asn1/f_enum.c b/src/lib/libcrypto/asn1/f_enum.c index 3d0b1107cb..56e3cc8df2 100644 --- a/src/lib/libcrypto/asn1/f_enum.c +++ b/src/lib/libcrypto/asn1/f_enum.c | |||
@@ -153,15 +153,15 @@ int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size) | |||
153 | if (num+i > slen) | 153 | if (num+i > slen) |
154 | { | 154 | { |
155 | if (s == NULL) | 155 | if (s == NULL) |
156 | sp=(unsigned char *)Malloc( | 156 | sp=(unsigned char *)OPENSSL_malloc( |
157 | (unsigned int)num+i*2); | 157 | (unsigned int)num+i*2); |
158 | else | 158 | else |
159 | sp=(unsigned char *)Realloc(s, | 159 | sp=(unsigned char *)OPENSSL_realloc(s, |
160 | (unsigned int)num+i*2); | 160 | (unsigned int)num+i*2); |
161 | if (sp == NULL) | 161 | if (sp == NULL) |
162 | { | 162 | { |
163 | ASN1err(ASN1_F_A2I_ASN1_ENUMERATED,ERR_R_MALLOC_FAILURE); | 163 | ASN1err(ASN1_F_A2I_ASN1_ENUMERATED,ERR_R_MALLOC_FAILURE); |
164 | if (s != NULL) Free(s); | 164 | if (s != NULL) OPENSSL_free(s); |
165 | goto err; | 165 | goto err; |
166 | } | 166 | } |
167 | s=sp; | 167 | s=sp; |
diff --git a/src/lib/libcrypto/asn1/f_int.c b/src/lib/libcrypto/asn1/f_int.c index cd57331c3f..6b090f6740 100644 --- a/src/lib/libcrypto/asn1/f_int.c +++ b/src/lib/libcrypto/asn1/f_int.c | |||
@@ -160,15 +160,15 @@ int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size) | |||
160 | if (num+i > slen) | 160 | if (num+i > slen) |
161 | { | 161 | { |
162 | if (s == NULL) | 162 | if (s == NULL) |
163 | sp=(unsigned char *)Malloc( | 163 | sp=(unsigned char *)OPENSSL_malloc( |
164 | (unsigned int)num+i*2); | 164 | (unsigned int)num+i*2); |
165 | else | 165 | else |
166 | sp=(unsigned char *)Realloc(s, | 166 | sp=(unsigned char *)OPENSSL_realloc(s, |
167 | (unsigned int)num+i*2); | 167 | (unsigned int)num+i*2); |
168 | if (sp == NULL) | 168 | if (sp == NULL) |
169 | { | 169 | { |
170 | ASN1err(ASN1_F_A2I_ASN1_INTEGER,ERR_R_MALLOC_FAILURE); | 170 | ASN1err(ASN1_F_A2I_ASN1_INTEGER,ERR_R_MALLOC_FAILURE); |
171 | if (s != NULL) Free(s); | 171 | if (s != NULL) OPENSSL_free(s); |
172 | goto err; | 172 | goto err; |
173 | } | 173 | } |
174 | s=sp; | 174 | s=sp; |
diff --git a/src/lib/libcrypto/asn1/f_string.c b/src/lib/libcrypto/asn1/f_string.c index 088313689a..968698a798 100644 --- a/src/lib/libcrypto/asn1/f_string.c +++ b/src/lib/libcrypto/asn1/f_string.c | |||
@@ -158,15 +158,15 @@ int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) | |||
158 | if (num+i > slen) | 158 | if (num+i > slen) |
159 | { | 159 | { |
160 | if (s == NULL) | 160 | if (s == NULL) |
161 | sp=(unsigned char *)Malloc( | 161 | sp=(unsigned char *)OPENSSL_malloc( |
162 | (unsigned int)num+i*2); | 162 | (unsigned int)num+i*2); |
163 | else | 163 | else |
164 | sp=(unsigned char *)Realloc(s, | 164 | sp=(unsigned char *)OPENSSL_realloc(s, |
165 | (unsigned int)num+i*2); | 165 | (unsigned int)num+i*2); |
166 | if (sp == NULL) | 166 | if (sp == NULL) |
167 | { | 167 | { |
168 | ASN1err(ASN1_F_A2I_ASN1_STRING,ERR_R_MALLOC_FAILURE); | 168 | ASN1err(ASN1_F_A2I_ASN1_STRING,ERR_R_MALLOC_FAILURE); |
169 | if (s != NULL) Free(s); | 169 | if (s != NULL) OPENSSL_free(s); |
170 | goto err; | 170 | goto err; |
171 | } | 171 | } |
172 | s=sp; | 172 | s=sp; |
diff --git a/src/lib/libcrypto/asn1/i2d_dhp.c b/src/lib/libcrypto/asn1/i2d_dhp.c index 61eeb646f9..b1de17fe07 100644 --- a/src/lib/libcrypto/asn1/i2d_dhp.c +++ b/src/lib/libcrypto/asn1/i2d_dhp.c | |||
@@ -105,7 +105,7 @@ int i2d_DHparams(DH *a, unsigned char **pp) | |||
105 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); | 105 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); |
106 | 106 | ||
107 | bs.type=V_ASN1_INTEGER; | 107 | bs.type=V_ASN1_INTEGER; |
108 | bs.data=(unsigned char *)Malloc(max+4); | 108 | bs.data=(unsigned char *)OPENSSL_malloc(max+4); |
109 | if (bs.data == NULL) | 109 | if (bs.data == NULL) |
110 | { | 110 | { |
111 | ASN1err(ASN1_F_I2D_DHPARAMS,ERR_R_MALLOC_FAILURE); | 111 | ASN1err(ASN1_F_I2D_DHPARAMS,ERR_R_MALLOC_FAILURE); |
@@ -118,7 +118,7 @@ int i2d_DHparams(DH *a, unsigned char **pp) | |||
118 | bs.length=BN_bn2bin(num[i],bs.data); | 118 | bs.length=BN_bn2bin(num[i],bs.data); |
119 | i2d_ASN1_INTEGER(&bs,&p); | 119 | i2d_ASN1_INTEGER(&bs,&p); |
120 | } | 120 | } |
121 | Free(bs.data); | 121 | OPENSSL_free(bs.data); |
122 | ret=t; | 122 | ret=t; |
123 | err: | 123 | err: |
124 | if (num[2] != NULL) BN_free(num[2]); | 124 | if (num[2] != NULL) BN_free(num[2]); |
diff --git a/src/lib/libcrypto/asn1/i2d_dsap.c b/src/lib/libcrypto/asn1/i2d_dsap.c index 4021123ba3..157fb43893 100644 --- a/src/lib/libcrypto/asn1/i2d_dsap.c +++ b/src/lib/libcrypto/asn1/i2d_dsap.c | |||
@@ -94,7 +94,7 @@ int i2d_DSAparams(DSA *a, unsigned char **pp) | |||
94 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); | 94 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); |
95 | 95 | ||
96 | bs.type=V_ASN1_INTEGER; | 96 | bs.type=V_ASN1_INTEGER; |
97 | bs.data=(unsigned char *)Malloc(max+4); | 97 | bs.data=(unsigned char *)OPENSSL_malloc(max+4); |
98 | if (bs.data == NULL) | 98 | if (bs.data == NULL) |
99 | { | 99 | { |
100 | ASN1err(ASN1_F_I2D_DSAPARAMS,ERR_R_MALLOC_FAILURE); | 100 | ASN1err(ASN1_F_I2D_DSAPARAMS,ERR_R_MALLOC_FAILURE); |
@@ -107,7 +107,7 @@ int i2d_DSAparams(DSA *a, unsigned char **pp) | |||
107 | bs.length=BN_bn2bin(num[i],bs.data); | 107 | bs.length=BN_bn2bin(num[i],bs.data); |
108 | i2d_ASN1_INTEGER(&bs,&p); | 108 | i2d_ASN1_INTEGER(&bs,&p); |
109 | } | 109 | } |
110 | Free(bs.data); | 110 | OPENSSL_free(bs.data); |
111 | ret=t; | 111 | ret=t; |
112 | err: | 112 | err: |
113 | *pp=p; | 113 | *pp=p; |
diff --git a/src/lib/libcrypto/asn1/i2d_r_pr.c b/src/lib/libcrypto/asn1/i2d_r_pr.c index 1250fa4b2d..88b1aac989 100644 --- a/src/lib/libcrypto/asn1/i2d_r_pr.c +++ b/src/lib/libcrypto/asn1/i2d_r_pr.c | |||
@@ -107,7 +107,7 @@ int i2d_RSAPrivateKey(RSA *a, unsigned char **pp) | |||
107 | 107 | ||
108 | i2d_ASN1_INTEGER(&bs,&p); | 108 | i2d_ASN1_INTEGER(&bs,&p); |
109 | 109 | ||
110 | bs.data=(unsigned char *)Malloc(max+4); | 110 | bs.data=(unsigned char *)OPENSSL_malloc(max+4); |
111 | if (bs.data == NULL) | 111 | if (bs.data == NULL) |
112 | { | 112 | { |
113 | ASN1err(ASN1_F_I2D_RSAPRIVATEKEY,ERR_R_MALLOC_FAILURE); | 113 | ASN1err(ASN1_F_I2D_RSAPRIVATEKEY,ERR_R_MALLOC_FAILURE); |
@@ -119,7 +119,7 @@ int i2d_RSAPrivateKey(RSA *a, unsigned char **pp) | |||
119 | bs.length=BN_bn2bin(num[i],bs.data); | 119 | bs.length=BN_bn2bin(num[i],bs.data); |
120 | i2d_ASN1_INTEGER(&bs,&p); | 120 | i2d_ASN1_INTEGER(&bs,&p); |
121 | } | 121 | } |
122 | Free(bs.data); | 122 | OPENSSL_free(bs.data); |
123 | *pp=p; | 123 | *pp=p; |
124 | return(t); | 124 | return(t); |
125 | } | 125 | } |
diff --git a/src/lib/libcrypto/asn1/i2d_r_pu.c b/src/lib/libcrypto/asn1/i2d_r_pu.c index 582b92ee4c..8178c2c3b3 100644 --- a/src/lib/libcrypto/asn1/i2d_r_pu.c +++ b/src/lib/libcrypto/asn1/i2d_r_pu.c | |||
@@ -93,7 +93,7 @@ int i2d_RSAPublicKey(RSA *a, unsigned char **pp) | |||
93 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); | 93 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); |
94 | 94 | ||
95 | bs.type=V_ASN1_INTEGER; | 95 | bs.type=V_ASN1_INTEGER; |
96 | bs.data=(unsigned char *)Malloc(max+4); | 96 | bs.data=(unsigned char *)OPENSSL_malloc(max+4); |
97 | if (bs.data == NULL) | 97 | if (bs.data == NULL) |
98 | { | 98 | { |
99 | ASN1err(ASN1_F_I2D_RSAPUBLICKEY,ERR_R_MALLOC_FAILURE); | 99 | ASN1err(ASN1_F_I2D_RSAPUBLICKEY,ERR_R_MALLOC_FAILURE); |
@@ -105,7 +105,7 @@ int i2d_RSAPublicKey(RSA *a, unsigned char **pp) | |||
105 | bs.length=BN_bn2bin(num[i],bs.data); | 105 | bs.length=BN_bn2bin(num[i],bs.data); |
106 | i2d_ASN1_INTEGER(&bs,&p); | 106 | i2d_ASN1_INTEGER(&bs,&p); |
107 | } | 107 | } |
108 | Free(bs.data); | 108 | OPENSSL_free(bs.data); |
109 | *pp=p; | 109 | *pp=p; |
110 | return(t); | 110 | return(t); |
111 | } | 111 | } |
diff --git a/src/lib/libcrypto/asn1/i2d_s_pr.c b/src/lib/libcrypto/asn1/i2d_s_pr.c index e399ceaeb9..9922952ad7 100644 --- a/src/lib/libcrypto/asn1/i2d_s_pr.c +++ b/src/lib/libcrypto/asn1/i2d_s_pr.c | |||
@@ -104,7 +104,7 @@ int i2d_DSAPrivateKey(DSA *a, unsigned char **pp) | |||
104 | 104 | ||
105 | i2d_ASN1_INTEGER(&bs,&p); | 105 | i2d_ASN1_INTEGER(&bs,&p); |
106 | 106 | ||
107 | bs.data=(unsigned char *)Malloc(max+4); | 107 | bs.data=(unsigned char *)OPENSSL_malloc(max+4); |
108 | if (bs.data == NULL) | 108 | if (bs.data == NULL) |
109 | { | 109 | { |
110 | ASN1err(ASN1_F_I2D_DSAPRIVATEKEY,ERR_R_MALLOC_FAILURE); | 110 | ASN1err(ASN1_F_I2D_DSAPRIVATEKEY,ERR_R_MALLOC_FAILURE); |
@@ -116,7 +116,7 @@ int i2d_DSAPrivateKey(DSA *a, unsigned char **pp) | |||
116 | bs.length=BN_bn2bin(num[i],bs.data); | 116 | bs.length=BN_bn2bin(num[i],bs.data); |
117 | i2d_ASN1_INTEGER(&bs,&p); | 117 | i2d_ASN1_INTEGER(&bs,&p); |
118 | } | 118 | } |
119 | Free(bs.data); | 119 | OPENSSL_free(bs.data); |
120 | *pp=p; | 120 | *pp=p; |
121 | return(t); | 121 | return(t); |
122 | } | 122 | } |
diff --git a/src/lib/libcrypto/asn1/i2d_s_pu.c b/src/lib/libcrypto/asn1/i2d_s_pu.c index ca7f251b71..e6014b82a8 100644 --- a/src/lib/libcrypto/asn1/i2d_s_pu.c +++ b/src/lib/libcrypto/asn1/i2d_s_pu.c | |||
@@ -109,7 +109,7 @@ int i2d_DSAPublicKey(DSA *a, unsigned char **pp) | |||
109 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); | 109 | ASN1_put_object(&p,1,tot,V_ASN1_SEQUENCE,V_ASN1_UNIVERSAL); |
110 | 110 | ||
111 | bs.type=V_ASN1_INTEGER; | 111 | bs.type=V_ASN1_INTEGER; |
112 | bs.data=(unsigned char *)Malloc(max+4); | 112 | bs.data=(unsigned char *)OPENSSL_malloc(max+4); |
113 | if (bs.data == NULL) | 113 | if (bs.data == NULL) |
114 | { | 114 | { |
115 | ASN1err(ASN1_F_I2D_DSAPUBLICKEY,ERR_R_MALLOC_FAILURE); | 115 | ASN1err(ASN1_F_I2D_DSAPUBLICKEY,ERR_R_MALLOC_FAILURE); |
@@ -121,7 +121,7 @@ int i2d_DSAPublicKey(DSA *a, unsigned char **pp) | |||
121 | bs.length=BN_bn2bin(num[i],bs.data); | 121 | bs.length=BN_bn2bin(num[i],bs.data); |
122 | i2d_ASN1_INTEGER(&bs,&p); | 122 | i2d_ASN1_INTEGER(&bs,&p); |
123 | } | 123 | } |
124 | Free(bs.data); | 124 | OPENSSL_free(bs.data); |
125 | *pp=p; | 125 | *pp=p; |
126 | if(all) return(t); | 126 | if(all) return(t); |
127 | else return(tot); | 127 | else return(tot); |
diff --git a/src/lib/libcrypto/asn1/n_pkey.c b/src/lib/libcrypto/asn1/n_pkey.c index d804986b73..9840193538 100644 --- a/src/lib/libcrypto/asn1/n_pkey.c +++ b/src/lib/libcrypto/asn1/n_pkey.c | |||
@@ -81,6 +81,11 @@ static NETSCAPE_PKEY *NETSCAPE_PKEY_new(void); | |||
81 | static void NETSCAPE_PKEY_free(NETSCAPE_PKEY *); | 81 | static void NETSCAPE_PKEY_free(NETSCAPE_PKEY *); |
82 | 82 | ||
83 | int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()) | 83 | int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()) |
84 | { | ||
85 | return i2d_RSA_NET(a, pp, cb, 0); | ||
86 | } | ||
87 | |||
88 | int i2d_RSA_NET(RSA *a, unsigned char **pp, int (*cb)(), int sgckey) | ||
84 | { | 89 | { |
85 | int i,j,l[6]; | 90 | int i,j,l[6]; |
86 | NETSCAPE_PKEY *pkey; | 91 | NETSCAPE_PKEY *pkey; |
@@ -139,8 +144,8 @@ int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()) | |||
139 | } | 144 | } |
140 | 145 | ||
141 | if (pkey->private_key->data != NULL) | 146 | if (pkey->private_key->data != NULL) |
142 | Free(pkey->private_key->data); | 147 | OPENSSL_free(pkey->private_key->data); |
143 | if ((pkey->private_key->data=(unsigned char *)Malloc(l[0])) == NULL) | 148 | if ((pkey->private_key->data=(unsigned char *)OPENSSL_malloc(l[0])) == NULL) |
144 | { | 149 | { |
145 | ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ERR_R_MALLOC_FAILURE); | 150 | ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ERR_R_MALLOC_FAILURE); |
146 | goto err; | 151 | goto err; |
@@ -148,7 +153,7 @@ int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()) | |||
148 | zz=pkey->private_key->data; | 153 | zz=pkey->private_key->data; |
149 | i2d_RSAPrivateKey(a,&zz); | 154 | i2d_RSAPrivateKey(a,&zz); |
150 | 155 | ||
151 | if ((os2.data=(unsigned char *)Malloc(os2.length)) == NULL) | 156 | if ((os2.data=(unsigned char *)OPENSSL_malloc(os2.length)) == NULL) |
152 | { | 157 | { |
153 | ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ERR_R_MALLOC_FAILURE); | 158 | ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ERR_R_MALLOC_FAILURE); |
154 | goto err; | 159 | goto err; |
@@ -164,8 +169,18 @@ int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()) | |||
164 | ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ASN1_R_BAD_PASSWORD_READ); | 169 | ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ASN1_R_BAD_PASSWORD_READ); |
165 | goto err; | 170 | goto err; |
166 | } | 171 | } |
167 | EVP_BytesToKey(EVP_rc4(),EVP_md5(),NULL,buf, | 172 | i = strlen((char *)buf); |
168 | strlen((char *)buf),1,key,NULL); | 173 | /* If the key is used for SGC the algorithm is modified a little. */ |
174 | if(sgckey){ | ||
175 | EVP_MD_CTX mctx; | ||
176 | EVP_DigestInit(&mctx, EVP_md5()); | ||
177 | EVP_DigestUpdate(&mctx, buf, i); | ||
178 | EVP_DigestFinal(&mctx, buf, NULL); | ||
179 | memcpy(buf + 16, "SGCKEYSALT", 10); | ||
180 | i = 26; | ||
181 | } | ||
182 | |||
183 | EVP_BytesToKey(EVP_rc4(),EVP_md5(),NULL,buf,i,1,key,NULL); | ||
169 | memset(buf,0,256); | 184 | memset(buf,0,256); |
170 | 185 | ||
171 | EVP_CIPHER_CTX_init(&ctx); | 186 | EVP_CIPHER_CTX_init(&ctx); |
@@ -182,14 +197,20 @@ int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)()) | |||
182 | i2d_ASN1_OCTET_STRING(&os2,&p); | 197 | i2d_ASN1_OCTET_STRING(&os2,&p); |
183 | ret=l[5]; | 198 | ret=l[5]; |
184 | err: | 199 | err: |
185 | if (os2.data != NULL) Free(os2.data); | 200 | if (os2.data != NULL) OPENSSL_free(os2.data); |
186 | if (alg != NULL) X509_ALGOR_free(alg); | 201 | if (alg != NULL) X509_ALGOR_free(alg); |
187 | if (pkey != NULL) NETSCAPE_PKEY_free(pkey); | 202 | if (pkey != NULL) NETSCAPE_PKEY_free(pkey); |
188 | r=r; | 203 | r=r; |
189 | return(ret); | 204 | return(ret); |
190 | } | 205 | } |
191 | 206 | ||
207 | |||
192 | RSA *d2i_Netscape_RSA(RSA **a, unsigned char **pp, long length, int (*cb)()) | 208 | RSA *d2i_Netscape_RSA(RSA **a, unsigned char **pp, long length, int (*cb)()) |
209 | { | ||
210 | return d2i_RSA_NET(a, pp, length, cb, 0); | ||
211 | } | ||
212 | |||
213 | RSA *d2i_RSA_NET(RSA **a, unsigned char **pp, long length, int (*cb)(), int sgckey) | ||
193 | { | 214 | { |
194 | RSA *ret=NULL; | 215 | RSA *ret=NULL; |
195 | ASN1_OCTET_STRING *os=NULL; | 216 | ASN1_OCTET_STRING *os=NULL; |
@@ -210,14 +231,24 @@ RSA *d2i_Netscape_RSA(RSA **a, unsigned char **pp, long length, int (*cb)()) | |||
210 | } | 231 | } |
211 | M_ASN1_BIT_STRING_free(os); | 232 | M_ASN1_BIT_STRING_free(os); |
212 | c.q=c.p; | 233 | c.q=c.p; |
213 | if ((ret=d2i_Netscape_RSA_2(a,&c.p,c.slen,cb)) == NULL) goto err; | 234 | if ((ret=d2i_RSA_NET_2(a,&c.p,c.slen,cb, sgckey)) == NULL) goto err; |
214 | c.slen-=(c.p-c.q); | 235 | /* Note: some versions of IIS key files use length values that are |
236 | * too small for the surrounding SEQUENCEs. This following line | ||
237 | * effectively disable length checking. | ||
238 | */ | ||
239 | c.slen = 0; | ||
215 | 240 | ||
216 | M_ASN1_D2I_Finish(a,RSA_free,ASN1_F_D2I_NETSCAPE_RSA); | 241 | M_ASN1_D2I_Finish(a,RSA_free,ASN1_F_D2I_NETSCAPE_RSA); |
217 | } | 242 | } |
218 | 243 | ||
219 | RSA *d2i_Netscape_RSA_2(RSA **a, unsigned char **pp, long length, | 244 | RSA *d2i_Netscape_RSA_2(RSA **a, unsigned char **pp, long length, |
220 | int (*cb)()) | 245 | int (*cb)()) |
246 | { | ||
247 | return d2i_RSA_NET_2(a, pp, length, cb, 0); | ||
248 | } | ||
249 | |||
250 | RSA *d2i_RSA_NET_2(RSA **a, unsigned char **pp, long length, | ||
251 | int (*cb)(), int sgckey) | ||
221 | { | 252 | { |
222 | NETSCAPE_PKEY *pkey=NULL; | 253 | NETSCAPE_PKEY *pkey=NULL; |
223 | RSA *ret=NULL; | 254 | RSA *ret=NULL; |
@@ -250,8 +281,17 @@ RSA *d2i_Netscape_RSA_2(RSA **a, unsigned char **pp, long length, | |||
250 | goto err; | 281 | goto err; |
251 | } | 282 | } |
252 | 283 | ||
253 | EVP_BytesToKey(EVP_rc4(),EVP_md5(),NULL,buf, | 284 | i = strlen((char *)buf); |
254 | strlen((char *)buf),1,key,NULL); | 285 | if(sgckey){ |
286 | EVP_MD_CTX mctx; | ||
287 | EVP_DigestInit(&mctx, EVP_md5()); | ||
288 | EVP_DigestUpdate(&mctx, buf, i); | ||
289 | EVP_DigestFinal(&mctx, buf, NULL); | ||
290 | memcpy(buf + 16, "SGCKEYSALT", 10); | ||
291 | i = 26; | ||
292 | } | ||
293 | |||
294 | EVP_BytesToKey(EVP_rc4(),EVP_md5(),NULL,buf,i,1,key,NULL); | ||
255 | memset(buf,0,256); | 295 | memset(buf,0,256); |
256 | 296 | ||
257 | EVP_CIPHER_CTX_init(&ctx); | 297 | EVP_CIPHER_CTX_init(&ctx); |
@@ -334,7 +374,7 @@ static void NETSCAPE_PKEY_free(NETSCAPE_PKEY *a) | |||
334 | M_ASN1_INTEGER_free(a->version); | 374 | M_ASN1_INTEGER_free(a->version); |
335 | X509_ALGOR_free(a->algor); | 375 | X509_ALGOR_free(a->algor); |
336 | M_ASN1_OCTET_STRING_free(a->private_key); | 376 | M_ASN1_OCTET_STRING_free(a->private_key); |
337 | Free(a); | 377 | OPENSSL_free(a); |
338 | } | 378 | } |
339 | 379 | ||
340 | #endif /* NO_RC4 */ | 380 | #endif /* NO_RC4 */ |
diff --git a/src/lib/libcrypto/asn1/nsseq.c b/src/lib/libcrypto/asn1/nsseq.c index 417d024b81..6e7f09ba23 100644 --- a/src/lib/libcrypto/asn1/nsseq.c +++ b/src/lib/libcrypto/asn1/nsseq.c | |||
@@ -114,5 +114,5 @@ void NETSCAPE_CERT_SEQUENCE_free (NETSCAPE_CERT_SEQUENCE *a) | |||
114 | ASN1_OBJECT_free(a->type); | 114 | ASN1_OBJECT_free(a->type); |
115 | if(a->certs) | 115 | if(a->certs) |
116 | sk_X509_pop_free(a->certs, X509_free); | 116 | sk_X509_pop_free(a->certs, X509_free); |
117 | Free (a); | 117 | OPENSSL_free (a); |
118 | } | 118 | } |
diff --git a/src/lib/libcrypto/asn1/p5_pbe.c b/src/lib/libcrypto/asn1/p5_pbe.c index a147ac3295..b7ed538eb2 100644 --- a/src/lib/libcrypto/asn1/p5_pbe.c +++ b/src/lib/libcrypto/asn1/p5_pbe.c | |||
@@ -103,7 +103,7 @@ void PBEPARAM_free (PBEPARAM *a) | |||
103 | if(a==NULL) return; | 103 | if(a==NULL) return; |
104 | M_ASN1_OCTET_STRING_free(a->salt); | 104 | M_ASN1_OCTET_STRING_free(a->salt); |
105 | M_ASN1_INTEGER_free (a->iter); | 105 | M_ASN1_INTEGER_free (a->iter); |
106 | Free (a); | 106 | OPENSSL_free (a); |
107 | } | 107 | } |
108 | 108 | ||
109 | /* Return an algorithm identifier for a PKCS#5 PBE algorithm */ | 109 | /* Return an algorithm identifier for a PKCS#5 PBE algorithm */ |
@@ -123,7 +123,7 @@ X509_ALGOR *PKCS5_pbe_set(int alg, int iter, unsigned char *salt, | |||
123 | if(iter <= 0) iter = PKCS5_DEFAULT_ITER; | 123 | if(iter <= 0) iter = PKCS5_DEFAULT_ITER; |
124 | ASN1_INTEGER_set (pbe->iter, iter); | 124 | ASN1_INTEGER_set (pbe->iter, iter); |
125 | if (!saltlen) saltlen = PKCS5_SALT_LEN; | 125 | if (!saltlen) saltlen = PKCS5_SALT_LEN; |
126 | if (!(pbe->salt->data = Malloc (saltlen))) { | 126 | if (!(pbe->salt->data = OPENSSL_malloc (saltlen))) { |
127 | ASN1err(ASN1_F_ASN1_PBE_SET,ERR_R_MALLOC_FAILURE); | 127 | ASN1err(ASN1_F_ASN1_PBE_SET,ERR_R_MALLOC_FAILURE); |
128 | return NULL; | 128 | return NULL; |
129 | } | 129 | } |
diff --git a/src/lib/libcrypto/asn1/p5_pbev2.c b/src/lib/libcrypto/asn1/p5_pbev2.c index 1bbdb10c71..6a7b578c0e 100644 --- a/src/lib/libcrypto/asn1/p5_pbev2.c +++ b/src/lib/libcrypto/asn1/p5_pbev2.c | |||
@@ -104,7 +104,7 @@ void PBE2PARAM_free (PBE2PARAM *a) | |||
104 | if(a==NULL) return; | 104 | if(a==NULL) return; |
105 | X509_ALGOR_free(a->keyfunc); | 105 | X509_ALGOR_free(a->keyfunc); |
106 | X509_ALGOR_free(a->encryption); | 106 | X509_ALGOR_free(a->encryption); |
107 | Free (a); | 107 | OPENSSL_free (a); |
108 | } | 108 | } |
109 | 109 | ||
110 | int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **pp) | 110 | int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **pp) |
@@ -158,7 +158,7 @@ void PBKDF2PARAM_free (PBKDF2PARAM *a) | |||
158 | M_ASN1_INTEGER_free(a->iter); | 158 | M_ASN1_INTEGER_free(a->iter); |
159 | M_ASN1_INTEGER_free(a->keylength); | 159 | M_ASN1_INTEGER_free(a->keylength); |
160 | X509_ALGOR_free(a->prf); | 160 | X509_ALGOR_free(a->prf); |
161 | Free (a); | 161 | OPENSSL_free (a); |
162 | } | 162 | } |
163 | 163 | ||
164 | /* Return an algorithm identifier for a PKCS#5 v2.0 PBE algorithm: | 164 | /* Return an algorithm identifier for a PKCS#5 v2.0 PBE algorithm: |
@@ -210,7 +210,7 @@ X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, | |||
210 | if(!(osalt = M_ASN1_OCTET_STRING_new())) goto merr; | 210 | if(!(osalt = M_ASN1_OCTET_STRING_new())) goto merr; |
211 | 211 | ||
212 | if (!saltlen) saltlen = PKCS5_SALT_LEN; | 212 | if (!saltlen) saltlen = PKCS5_SALT_LEN; |
213 | if (!(osalt->data = Malloc (saltlen))) goto merr; | 213 | if (!(osalt->data = OPENSSL_malloc (saltlen))) goto merr; |
214 | osalt->length = saltlen; | 214 | osalt->length = saltlen; |
215 | if (salt) memcpy (osalt->data, salt, saltlen); | 215 | if (salt) memcpy (osalt->data, salt, saltlen); |
216 | else if (RAND_pseudo_bytes (osalt->data, saltlen) < 0) goto merr; | 216 | else if (RAND_pseudo_bytes (osalt->data, saltlen) < 0) goto merr; |
diff --git a/src/lib/libcrypto/asn1/p7_dgst.c b/src/lib/libcrypto/asn1/p7_dgst.c index cba90e94a1..c170244616 100644 --- a/src/lib/libcrypto/asn1/p7_dgst.c +++ b/src/lib/libcrypto/asn1/p7_dgst.c | |||
@@ -116,6 +116,6 @@ void PKCS7_DIGEST_free(PKCS7_DIGEST *a) | |||
116 | X509_ALGOR_free(a->md); | 116 | X509_ALGOR_free(a->md); |
117 | PKCS7_free(a->contents); | 117 | PKCS7_free(a->contents); |
118 | M_ASN1_OCTET_STRING_free(a->digest); | 118 | M_ASN1_OCTET_STRING_free(a->digest); |
119 | Free(a); | 119 | OPENSSL_free(a); |
120 | } | 120 | } |
121 | 121 | ||
diff --git a/src/lib/libcrypto/asn1/p7_enc.c b/src/lib/libcrypto/asn1/p7_enc.c index 83b0e15faa..38ccafbdb0 100644 --- a/src/lib/libcrypto/asn1/p7_enc.c +++ b/src/lib/libcrypto/asn1/p7_enc.c | |||
@@ -106,6 +106,6 @@ void PKCS7_ENCRYPT_free(PKCS7_ENCRYPT *a) | |||
106 | if (a == NULL) return; | 106 | if (a == NULL) return; |
107 | M_ASN1_INTEGER_free(a->version); | 107 | M_ASN1_INTEGER_free(a->version); |
108 | PKCS7_ENC_CONTENT_free(a->enc_data); | 108 | PKCS7_ENC_CONTENT_free(a->enc_data); |
109 | Free(a); | 109 | OPENSSL_free(a); |
110 | } | 110 | } |
111 | 111 | ||
diff --git a/src/lib/libcrypto/asn1/p7_enc_c.c b/src/lib/libcrypto/asn1/p7_enc_c.c index 582cc78b06..031178ab52 100644 --- a/src/lib/libcrypto/asn1/p7_enc_c.c +++ b/src/lib/libcrypto/asn1/p7_enc_c.c | |||
@@ -115,6 +115,6 @@ void PKCS7_ENC_CONTENT_free(PKCS7_ENC_CONTENT *a) | |||
115 | ASN1_OBJECT_free(a->content_type); | 115 | ASN1_OBJECT_free(a->content_type); |
116 | X509_ALGOR_free(a->algorithm); | 116 | X509_ALGOR_free(a->algorithm); |
117 | M_ASN1_OCTET_STRING_free(a->enc_data); | 117 | M_ASN1_OCTET_STRING_free(a->enc_data); |
118 | Free(a); | 118 | OPENSSL_free(a); |
119 | } | 119 | } |
120 | 120 | ||
diff --git a/src/lib/libcrypto/asn1/p7_evp.c b/src/lib/libcrypto/asn1/p7_evp.c index 4e734fdd28..60be3e5f66 100644 --- a/src/lib/libcrypto/asn1/p7_evp.c +++ b/src/lib/libcrypto/asn1/p7_evp.c | |||
@@ -114,6 +114,6 @@ void PKCS7_ENVELOPE_free(PKCS7_ENVELOPE *a) | |||
114 | M_ASN1_INTEGER_free(a->version); | 114 | M_ASN1_INTEGER_free(a->version); |
115 | sk_PKCS7_RECIP_INFO_pop_free(a->recipientinfo,PKCS7_RECIP_INFO_free); | 115 | sk_PKCS7_RECIP_INFO_pop_free(a->recipientinfo,PKCS7_RECIP_INFO_free); |
116 | PKCS7_ENC_CONTENT_free(a->enc_data); | 116 | PKCS7_ENC_CONTENT_free(a->enc_data); |
117 | Free(a); | 117 | OPENSSL_free(a); |
118 | } | 118 | } |
119 | 119 | ||
diff --git a/src/lib/libcrypto/asn1/p7_i_s.c b/src/lib/libcrypto/asn1/p7_i_s.c index d21f7ddb84..4a7260a5c8 100644 --- a/src/lib/libcrypto/asn1/p7_i_s.c +++ b/src/lib/libcrypto/asn1/p7_i_s.c | |||
@@ -106,6 +106,6 @@ void PKCS7_ISSUER_AND_SERIAL_free(PKCS7_ISSUER_AND_SERIAL *a) | |||
106 | if (a == NULL) return; | 106 | if (a == NULL) return; |
107 | X509_NAME_free(a->issuer); | 107 | X509_NAME_free(a->issuer); |
108 | M_ASN1_INTEGER_free(a->serial); | 108 | M_ASN1_INTEGER_free(a->serial); |
109 | Free(a); | 109 | OPENSSL_free(a); |
110 | } | 110 | } |
111 | 111 | ||
diff --git a/src/lib/libcrypto/asn1/p7_lib.c b/src/lib/libcrypto/asn1/p7_lib.c index 86db82cfa1..b1196ef581 100644 --- a/src/lib/libcrypto/asn1/p7_lib.c +++ b/src/lib/libcrypto/asn1/p7_lib.c | |||
@@ -62,6 +62,8 @@ | |||
62 | #include <openssl/pkcs7.h> | 62 | #include <openssl/pkcs7.h> |
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | 64 | ||
65 | #ifdef PKCS7_INDEFINITE_ENCODING | ||
66 | |||
65 | int i2d_PKCS7(PKCS7 *a, unsigned char **pp) | 67 | int i2d_PKCS7(PKCS7 *a, unsigned char **pp) |
66 | { | 68 | { |
67 | M_ASN1_I2D_vars(a); | 69 | M_ASN1_I2D_vars(a); |
@@ -102,6 +104,7 @@ int i2d_PKCS7(PKCS7 *a, unsigned char **pp) | |||
102 | M_ASN1_I2D_len(a->d.encrypted,i2d_PKCS7_ENCRYPT); | 104 | M_ASN1_I2D_len(a->d.encrypted,i2d_PKCS7_ENCRYPT); |
103 | break; | 105 | break; |
104 | default: | 106 | default: |
107 | M_ASN1_I2D_len(a->d.other,i2d_ASN1_TYPE); | ||
105 | break; | 108 | break; |
106 | } | 109 | } |
107 | } | 110 | } |
@@ -136,6 +139,7 @@ int i2d_PKCS7(PKCS7 *a, unsigned char **pp) | |||
136 | M_ASN1_I2D_put(a->d.encrypted,i2d_PKCS7_ENCRYPT); | 139 | M_ASN1_I2D_put(a->d.encrypted,i2d_PKCS7_ENCRYPT); |
137 | break; | 140 | break; |
138 | default: | 141 | default: |
142 | M_ASN1_I2D_put(a->d.other,i2d_ASN1_TYPE); | ||
139 | break; | 143 | break; |
140 | } | 144 | } |
141 | M_ASN1_I2D_INF_seq_end(); | 145 | M_ASN1_I2D_INF_seq_end(); |
@@ -144,6 +148,98 @@ int i2d_PKCS7(PKCS7 *a, unsigned char **pp) | |||
144 | M_ASN1_I2D_finish(); | 148 | M_ASN1_I2D_finish(); |
145 | } | 149 | } |
146 | 150 | ||
151 | #else | ||
152 | |||
153 | int i2d_PKCS7(PKCS7 *a, unsigned char **pp) | ||
154 | { | ||
155 | int explen = 0; | ||
156 | M_ASN1_I2D_vars(a); | ||
157 | |||
158 | if (a->asn1 != NULL) | ||
159 | { | ||
160 | if (pp == NULL) | ||
161 | return((int)a->length); | ||
162 | memcpy(*pp,a->asn1,(int)a->length); | ||
163 | *pp+=a->length; | ||
164 | return((int)a->length); | ||
165 | } | ||
166 | |||
167 | M_ASN1_I2D_len(a->type,i2d_ASN1_OBJECT); | ||
168 | if (a->d.ptr != NULL) | ||
169 | { | ||
170 | /* Save current length */ | ||
171 | r = ret; | ||
172 | switch (OBJ_obj2nid(a->type)) | ||
173 | { | ||
174 | case NID_pkcs7_data: | ||
175 | M_ASN1_I2D_len(a->d.data,i2d_ASN1_OCTET_STRING); | ||
176 | break; | ||
177 | case NID_pkcs7_signed: | ||
178 | M_ASN1_I2D_len(a->d.sign,i2d_PKCS7_SIGNED); | ||
179 | break; | ||
180 | case NID_pkcs7_enveloped: | ||
181 | M_ASN1_I2D_len(a->d.enveloped,i2d_PKCS7_ENVELOPE); | ||
182 | break; | ||
183 | case NID_pkcs7_signedAndEnveloped: | ||
184 | M_ASN1_I2D_len(a->d.signed_and_enveloped, | ||
185 | i2d_PKCS7_SIGN_ENVELOPE); | ||
186 | break; | ||
187 | case NID_pkcs7_digest: | ||
188 | M_ASN1_I2D_len(a->d.digest,i2d_PKCS7_DIGEST); | ||
189 | break; | ||
190 | case NID_pkcs7_encrypted: | ||
191 | M_ASN1_I2D_len(a->d.encrypted,i2d_PKCS7_ENCRYPT); | ||
192 | break; | ||
193 | default: | ||
194 | M_ASN1_I2D_len(a->d.other,i2d_ASN1_TYPE); | ||
195 | break; | ||
196 | } | ||
197 | /* Work out explicit tag content size */ | ||
198 | explen = ret - r; | ||
199 | /* Work out explicit tag size: Note: ASN1_object_size | ||
200 | * includes the content length. | ||
201 | */ | ||
202 | ret = r + ASN1_object_size(1, explen, 0); | ||
203 | } | ||
204 | |||
205 | M_ASN1_I2D_seq_total(); | ||
206 | |||
207 | M_ASN1_I2D_put(a->type,i2d_ASN1_OBJECT); | ||
208 | |||
209 | if (a->d.ptr != NULL) | ||
210 | { | ||
211 | ASN1_put_object(&p, 1, explen, 0, V_ASN1_CONTEXT_SPECIFIC); | ||
212 | switch (OBJ_obj2nid(a->type)) | ||
213 | { | ||
214 | case NID_pkcs7_data: | ||
215 | M_ASN1_I2D_put(a->d.data,i2d_ASN1_OCTET_STRING); | ||
216 | break; | ||
217 | case NID_pkcs7_signed: | ||
218 | M_ASN1_I2D_put(a->d.sign,i2d_PKCS7_SIGNED); | ||
219 | break; | ||
220 | case NID_pkcs7_enveloped: | ||
221 | M_ASN1_I2D_put(a->d.enveloped,i2d_PKCS7_ENVELOPE); | ||
222 | break; | ||
223 | case NID_pkcs7_signedAndEnveloped: | ||
224 | M_ASN1_I2D_put(a->d.signed_and_enveloped, | ||
225 | i2d_PKCS7_SIGN_ENVELOPE); | ||
226 | break; | ||
227 | case NID_pkcs7_digest: | ||
228 | M_ASN1_I2D_put(a->d.digest,i2d_PKCS7_DIGEST); | ||
229 | break; | ||
230 | case NID_pkcs7_encrypted: | ||
231 | M_ASN1_I2D_put(a->d.encrypted,i2d_PKCS7_ENCRYPT); | ||
232 | break; | ||
233 | default: | ||
234 | M_ASN1_I2D_put(a->d.other,i2d_ASN1_TYPE); | ||
235 | break; | ||
236 | } | ||
237 | } | ||
238 | M_ASN1_I2D_finish(); | ||
239 | } | ||
240 | |||
241 | #endif | ||
242 | |||
147 | PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **pp, long length) | 243 | PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **pp, long length) |
148 | { | 244 | { |
149 | M_ASN1_D2I_vars(a,PKCS7 *,PKCS7_new); | 245 | M_ASN1_D2I_vars(a,PKCS7 *,PKCS7_new); |
@@ -152,7 +248,7 @@ PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **pp, long length) | |||
152 | { | 248 | { |
153 | if ((*a)->asn1 != NULL) | 249 | if ((*a)->asn1 != NULL) |
154 | { | 250 | { |
155 | Free((*a)->asn1); | 251 | OPENSSL_free((*a)->asn1); |
156 | (*a)->asn1=NULL; | 252 | (*a)->asn1=NULL; |
157 | } | 253 | } |
158 | (*a)->length=0; | 254 | (*a)->length=0; |
@@ -206,10 +302,8 @@ PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **pp, long length) | |||
206 | M_ASN1_D2I_get(ret->d.encrypted,d2i_PKCS7_ENCRYPT); | 302 | M_ASN1_D2I_get(ret->d.encrypted,d2i_PKCS7_ENCRYPT); |
207 | break; | 303 | break; |
208 | default: | 304 | default: |
209 | c.error=ASN1_R_BAD_PKCS7_TYPE; | 305 | M_ASN1_D2I_get(ret->d.other,d2i_ASN1_TYPE); |
210 | c.line=__LINE__; | 306 | break; |
211 | goto err; | ||
212 | /* break; */ | ||
213 | } | 307 | } |
214 | if (Tinf == (1|V_ASN1_CONSTRUCTED)) | 308 | if (Tinf == (1|V_ASN1_CONSTRUCTED)) |
215 | { | 309 | { |
@@ -251,7 +345,7 @@ void PKCS7_free(PKCS7 *a) | |||
251 | { | 345 | { |
252 | ASN1_OBJECT_free(a->type); | 346 | ASN1_OBJECT_free(a->type); |
253 | } | 347 | } |
254 | Free(a); | 348 | OPENSSL_free(a); |
255 | } | 349 | } |
256 | 350 | ||
257 | void PKCS7_content_free(PKCS7 *a) | 351 | void PKCS7_content_free(PKCS7 *a) |
@@ -259,7 +353,7 @@ void PKCS7_content_free(PKCS7 *a) | |||
259 | if(a == NULL) | 353 | if(a == NULL) |
260 | return; | 354 | return; |
261 | 355 | ||
262 | if (a->asn1 != NULL) Free(a->asn1); | 356 | if (a->asn1 != NULL) OPENSSL_free(a->asn1); |
263 | 357 | ||
264 | if (a->d.ptr != NULL) | 358 | if (a->d.ptr != NULL) |
265 | { | 359 | { |
@@ -286,10 +380,12 @@ void PKCS7_content_free(PKCS7 *a) | |||
286 | PKCS7_ENCRYPT_free(a->d.encrypted); | 380 | PKCS7_ENCRYPT_free(a->d.encrypted); |
287 | break; | 381 | break; |
288 | default: | 382 | default: |
289 | /* MEMORY LEAK */ | 383 | ASN1_TYPE_free(a->d.other); |
290 | break; | 384 | break; |
291 | } | 385 | } |
292 | } | 386 | } |
293 | a->d.ptr=NULL; | 387 | a->d.ptr=NULL; |
294 | } | 388 | } |
295 | 389 | ||
390 | IMPLEMENT_STACK_OF(PKCS7) | ||
391 | IMPLEMENT_ASN1_SET_OF(PKCS7) | ||
diff --git a/src/lib/libcrypto/asn1/p7_recip.c b/src/lib/libcrypto/asn1/p7_recip.c index b1abfa3b8f..5f6c88a2fa 100644 --- a/src/lib/libcrypto/asn1/p7_recip.c +++ b/src/lib/libcrypto/asn1/p7_recip.c | |||
@@ -118,7 +118,7 @@ void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a) | |||
118 | X509_ALGOR_free(a->key_enc_algor); | 118 | X509_ALGOR_free(a->key_enc_algor); |
119 | M_ASN1_OCTET_STRING_free(a->enc_key); | 119 | M_ASN1_OCTET_STRING_free(a->enc_key); |
120 | if (a->cert != NULL) X509_free(a->cert); | 120 | if (a->cert != NULL) X509_free(a->cert); |
121 | Free(a); | 121 | OPENSSL_free(a); |
122 | } | 122 | } |
123 | 123 | ||
124 | IMPLEMENT_STACK_OF(PKCS7_RECIP_INFO) | 124 | IMPLEMENT_STACK_OF(PKCS7_RECIP_INFO) |
diff --git a/src/lib/libcrypto/asn1/p7_s_e.c b/src/lib/libcrypto/asn1/p7_s_e.c index 3d18fedf8e..709eb24b27 100644 --- a/src/lib/libcrypto/asn1/p7_s_e.c +++ b/src/lib/libcrypto/asn1/p7_s_e.c | |||
@@ -140,6 +140,6 @@ void PKCS7_SIGN_ENVELOPE_free(PKCS7_SIGN_ENVELOPE *a) | |||
140 | sk_X509_pop_free(a->cert,X509_free); | 140 | sk_X509_pop_free(a->cert,X509_free); |
141 | sk_X509_CRL_pop_free(a->crl,X509_CRL_free); | 141 | sk_X509_CRL_pop_free(a->crl,X509_CRL_free); |
142 | sk_PKCS7_SIGNER_INFO_pop_free(a->signer_info,PKCS7_SIGNER_INFO_free); | 142 | sk_PKCS7_SIGNER_INFO_pop_free(a->signer_info,PKCS7_SIGNER_INFO_free); |
143 | Free(a); | 143 | OPENSSL_free(a); |
144 | } | 144 | } |
145 | 145 | ||
diff --git a/src/lib/libcrypto/asn1/p7_signd.c b/src/lib/libcrypto/asn1/p7_signd.c index f6f16a8715..c835f5475f 100644 --- a/src/lib/libcrypto/asn1/p7_signd.c +++ b/src/lib/libcrypto/asn1/p7_signd.c | |||
@@ -131,5 +131,5 @@ void PKCS7_SIGNED_free(PKCS7_SIGNED *a) | |||
131 | sk_X509_pop_free(a->cert,X509_free); | 131 | sk_X509_pop_free(a->cert,X509_free); |
132 | sk_X509_CRL_pop_free(a->crl,X509_CRL_free); | 132 | sk_X509_CRL_pop_free(a->crl,X509_CRL_free); |
133 | sk_PKCS7_SIGNER_INFO_pop_free(a->signer_info,PKCS7_SIGNER_INFO_free); | 133 | sk_PKCS7_SIGNER_INFO_pop_free(a->signer_info,PKCS7_SIGNER_INFO_free); |
134 | Free(a); | 134 | OPENSSL_free(a); |
135 | } | 135 | } |
diff --git a/src/lib/libcrypto/asn1/p7_signi.c b/src/lib/libcrypto/asn1/p7_signi.c index f74658ffe6..248bf00945 100644 --- a/src/lib/libcrypto/asn1/p7_signi.c +++ b/src/lib/libcrypto/asn1/p7_signi.c | |||
@@ -143,7 +143,7 @@ void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a) | |||
143 | sk_X509_ATTRIBUTE_pop_free(a->unauth_attr,X509_ATTRIBUTE_free); | 143 | sk_X509_ATTRIBUTE_pop_free(a->unauth_attr,X509_ATTRIBUTE_free); |
144 | if (a->pkey != NULL) | 144 | if (a->pkey != NULL) |
145 | EVP_PKEY_free(a->pkey); | 145 | EVP_PKEY_free(a->pkey); |
146 | Free(a); | 146 | OPENSSL_free(a); |
147 | } | 147 | } |
148 | 148 | ||
149 | IMPLEMENT_STACK_OF(PKCS7_SIGNER_INFO) | 149 | IMPLEMENT_STACK_OF(PKCS7_SIGNER_INFO) |
diff --git a/src/lib/libcrypto/asn1/p8_key.c b/src/lib/libcrypto/asn1/p8_key.c index 0b24374627..3a31248e14 100644 --- a/src/lib/libcrypto/asn1/p8_key.c +++ b/src/lib/libcrypto/asn1/p8_key.c | |||
@@ -94,7 +94,7 @@ X509 *X509_KEY_new(void) | |||
94 | { | 94 | { |
95 | X509_KEY *ret=NULL; | 95 | X509_KEY *ret=NULL; |
96 | 96 | ||
97 | M_ASN1_New_Malloc(ret,X509_KEY); | 97 | M_ASN1_New_OPENSSL_malloc(ret,X509_KEY); |
98 | ret->references=1; | 98 | ret->references=1; |
99 | ret->type=NID | 99 | ret->type=NID |
100 | M_ASN1_New(ret->cert_info,X509_CINF_new); | 100 | M_ASN1_New(ret->cert_info,X509_CINF_new); |
@@ -126,6 +126,6 @@ void X509_KEY_free(X509 *a) | |||
126 | X509_CINF_free(a->cert_info); | 126 | X509_CINF_free(a->cert_info); |
127 | X509_ALGOR_free(a->sig_alg); | 127 | X509_ALGOR_free(a->sig_alg); |
128 | ASN1_BIT_STRING_free(a->signature); | 128 | ASN1_BIT_STRING_free(a->signature); |
129 | Free(a); | 129 | OPENSSL_free(a); |
130 | } | 130 | } |
131 | 131 | ||
diff --git a/src/lib/libcrypto/asn1/p8_pkey.c b/src/lib/libcrypto/asn1/p8_pkey.c index 59cfbe7f28..fa6cbfb6f8 100644 --- a/src/lib/libcrypto/asn1/p8_pkey.c +++ b/src/lib/libcrypto/asn1/p8_pkey.c | |||
@@ -123,5 +123,5 @@ void PKCS8_PRIV_KEY_INFO_free (PKCS8_PRIV_KEY_INFO *a) | |||
123 | 0, a->pkey->value.octet_string->length); | 123 | 0, a->pkey->value.octet_string->length); |
124 | ASN1_TYPE_free (a->pkey); | 124 | ASN1_TYPE_free (a->pkey); |
125 | sk_X509_ATTRIBUTE_pop_free (a->attributes, X509_ATTRIBUTE_free); | 125 | sk_X509_ATTRIBUTE_pop_free (a->attributes, X509_ATTRIBUTE_free); |
126 | Free (a); | 126 | OPENSSL_free (a); |
127 | } | 127 | } |
diff --git a/src/lib/libcrypto/asn1/t_pkey.c b/src/lib/libcrypto/asn1/t_pkey.c index e570ed1c47..ae18da96e3 100644 --- a/src/lib/libcrypto/asn1/t_pkey.c +++ b/src/lib/libcrypto/asn1/t_pkey.c | |||
@@ -99,7 +99,7 @@ int RSA_print(BIO *bp, RSA *x, int off) | |||
99 | int i,ret=0; | 99 | int i,ret=0; |
100 | 100 | ||
101 | i=RSA_size(x); | 101 | i=RSA_size(x); |
102 | m=(unsigned char *)Malloc((unsigned int)i+10); | 102 | m=(unsigned char *)OPENSSL_malloc((unsigned int)i+10); |
103 | if (m == NULL) | 103 | if (m == NULL) |
104 | { | 104 | { |
105 | RSAerr(RSA_F_RSA_PRINT,ERR_R_MALLOC_FAILURE); | 105 | RSAerr(RSA_F_RSA_PRINT,ERR_R_MALLOC_FAILURE); |
@@ -133,7 +133,7 @@ int RSA_print(BIO *bp, RSA *x, int off) | |||
133 | if (!print(bp,"coefficient:",x->iqmp,m,off)) goto err; | 133 | if (!print(bp,"coefficient:",x->iqmp,m,off)) goto err; |
134 | ret=1; | 134 | ret=1; |
135 | err: | 135 | err: |
136 | if (m != NULL) Free(m); | 136 | if (m != NULL) OPENSSL_free(m); |
137 | return(ret); | 137 | return(ret); |
138 | } | 138 | } |
139 | #endif /* NO_RSA */ | 139 | #endif /* NO_RSA */ |
@@ -176,7 +176,7 @@ int DSA_print(BIO *bp, DSA *x, int off) | |||
176 | i=BN_num_bytes(bn)*2; | 176 | i=BN_num_bytes(bn)*2; |
177 | else | 177 | else |
178 | i=256; | 178 | i=256; |
179 | m=(unsigned char *)Malloc((unsigned int)i+10); | 179 | m=(unsigned char *)OPENSSL_malloc((unsigned int)i+10); |
180 | if (m == NULL) | 180 | if (m == NULL) |
181 | { | 181 | { |
182 | DSAerr(DSA_F_DSA_PRINT,ERR_R_MALLOC_FAILURE); | 182 | DSAerr(DSA_F_DSA_PRINT,ERR_R_MALLOC_FAILURE); |
@@ -204,7 +204,7 @@ int DSA_print(BIO *bp, DSA *x, int off) | |||
204 | if ((x->g != NULL) && !print(bp,"G: ",x->g,m,off)) goto err; | 204 | if ((x->g != NULL) && !print(bp,"G: ",x->g,m,off)) goto err; |
205 | ret=1; | 205 | ret=1; |
206 | err: | 206 | err: |
207 | if (m != NULL) Free(m); | 207 | if (m != NULL) OPENSSL_free(m); |
208 | return(ret); | 208 | return(ret); |
209 | } | 209 | } |
210 | #endif /* !NO_DSA */ | 210 | #endif /* !NO_DSA */ |
@@ -284,7 +284,7 @@ int DHparams_print(BIO *bp, DH *x) | |||
284 | int reason=ERR_R_BUF_LIB,i,ret=0; | 284 | int reason=ERR_R_BUF_LIB,i,ret=0; |
285 | 285 | ||
286 | i=BN_num_bytes(x->p); | 286 | i=BN_num_bytes(x->p); |
287 | m=(unsigned char *)Malloc((unsigned int)i+10); | 287 | m=(unsigned char *)OPENSSL_malloc((unsigned int)i+10); |
288 | if (m == NULL) | 288 | if (m == NULL) |
289 | { | 289 | { |
290 | reason=ERR_R_MALLOC_FAILURE; | 290 | reason=ERR_R_MALLOC_FAILURE; |
@@ -307,7 +307,7 @@ int DHparams_print(BIO *bp, DH *x) | |||
307 | err: | 307 | err: |
308 | DHerr(DH_F_DHPARAMS_PRINT,reason); | 308 | DHerr(DH_F_DHPARAMS_PRINT,reason); |
309 | } | 309 | } |
310 | if (m != NULL) Free(m); | 310 | if (m != NULL) OPENSSL_free(m); |
311 | return(ret); | 311 | return(ret); |
312 | } | 312 | } |
313 | #endif | 313 | #endif |
@@ -337,7 +337,7 @@ int DSAparams_print(BIO *bp, DSA *x) | |||
337 | int reason=ERR_R_BUF_LIB,i,ret=0; | 337 | int reason=ERR_R_BUF_LIB,i,ret=0; |
338 | 338 | ||
339 | i=BN_num_bytes(x->p); | 339 | i=BN_num_bytes(x->p); |
340 | m=(unsigned char *)Malloc((unsigned int)i+10); | 340 | m=(unsigned char *)OPENSSL_malloc((unsigned int)i+10); |
341 | if (m == NULL) | 341 | if (m == NULL) |
342 | { | 342 | { |
343 | reason=ERR_R_MALLOC_FAILURE; | 343 | reason=ERR_R_MALLOC_FAILURE; |
@@ -352,7 +352,7 @@ int DSAparams_print(BIO *bp, DSA *x) | |||
352 | if (!print(bp,"g:",x->g,m,4)) goto err; | 352 | if (!print(bp,"g:",x->g,m,4)) goto err; |
353 | ret=1; | 353 | ret=1; |
354 | err: | 354 | err: |
355 | if (m != NULL) Free(m); | 355 | if (m != NULL) OPENSSL_free(m); |
356 | DSAerr(DSA_F_DSAPARAMS_PRINT,reason); | 356 | DSAerr(DSA_F_DSAPARAMS_PRINT,reason); |
357 | return(ret); | 357 | return(ret); |
358 | } | 358 | } |
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index 6ee1065ce9..314bdfb1c7 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
@@ -223,7 +223,7 @@ int X509_print(BIO *bp, X509 *x) | |||
223 | ret=1; | 223 | ret=1; |
224 | err: | 224 | err: |
225 | if (str != NULL) ASN1_STRING_free(str); | 225 | if (str != NULL) ASN1_STRING_free(str); |
226 | if (m != NULL) Free(m); | 226 | if (m != NULL) OPENSSL_free(m); |
227 | return(ret); | 227 | return(ret); |
228 | } | 228 | } |
229 | 229 | ||
diff --git a/src/lib/libcrypto/asn1/t_x509a.c b/src/lib/libcrypto/asn1/t_x509a.c index a18ebb586c..f06af5b576 100644 --- a/src/lib/libcrypto/asn1/t_x509a.c +++ b/src/lib/libcrypto/asn1/t_x509a.c | |||
@@ -98,5 +98,13 @@ int X509_CERT_AUX_print(BIO *out, X509_CERT_AUX *aux, int indent) | |||
98 | } else BIO_printf(out, "%*sNo Rejected Uses.\n", indent, ""); | 98 | } else BIO_printf(out, "%*sNo Rejected Uses.\n", indent, ""); |
99 | if(aux->alias) BIO_printf(out, "%*sAlias: %s\n", indent, "", | 99 | if(aux->alias) BIO_printf(out, "%*sAlias: %s\n", indent, "", |
100 | aux->alias->data); | 100 | aux->alias->data); |
101 | if(aux->keyid) { | ||
102 | BIO_printf(out, "%*sKey Id: ", indent, ""); | ||
103 | for(i = 0; i < aux->keyid->length; i++) | ||
104 | BIO_printf(out, "%s%02X", | ||
105 | i ? ":" : "", | ||
106 | aux->keyid->data[i]); | ||
107 | BIO_write(out,"\n",1); | ||
108 | } | ||
101 | return 1; | 109 | return 1; |
102 | } | 110 | } |
diff --git a/src/lib/libcrypto/asn1/x_algor.c b/src/lib/libcrypto/asn1/x_algor.c index fe023842f8..853a8dfeef 100644 --- a/src/lib/libcrypto/asn1/x_algor.c +++ b/src/lib/libcrypto/asn1/x_algor.c | |||
@@ -111,7 +111,7 @@ void X509_ALGOR_free(X509_ALGOR *a) | |||
111 | if (a == NULL) return; | 111 | if (a == NULL) return; |
112 | ASN1_OBJECT_free(a->algorithm); | 112 | ASN1_OBJECT_free(a->algorithm); |
113 | ASN1_TYPE_free(a->parameter); | 113 | ASN1_TYPE_free(a->parameter); |
114 | Free(a); | 114 | OPENSSL_free(a); |
115 | } | 115 | } |
116 | 116 | ||
117 | IMPLEMENT_STACK_OF(X509_ALGOR) | 117 | IMPLEMENT_STACK_OF(X509_ALGOR) |
diff --git a/src/lib/libcrypto/asn1/x_attrib.c b/src/lib/libcrypto/asn1/x_attrib.c index a874df79db..14e5ea27aa 100644 --- a/src/lib/libcrypto/asn1/x_attrib.c +++ b/src/lib/libcrypto/asn1/x_attrib.c | |||
@@ -160,6 +160,6 @@ void X509_ATTRIBUTE_free(X509_ATTRIBUTE *a) | |||
160 | sk_ASN1_TYPE_pop_free(a->value.set,ASN1_TYPE_free); | 160 | sk_ASN1_TYPE_pop_free(a->value.set,ASN1_TYPE_free); |
161 | else | 161 | else |
162 | ASN1_TYPE_free(a->value.single); | 162 | ASN1_TYPE_free(a->value.single); |
163 | Free(a); | 163 | OPENSSL_free(a); |
164 | } | 164 | } |
165 | 165 | ||
diff --git a/src/lib/libcrypto/asn1/x_cinf.c b/src/lib/libcrypto/asn1/x_cinf.c index b87c8fff17..339a110eef 100644 --- a/src/lib/libcrypto/asn1/x_cinf.c +++ b/src/lib/libcrypto/asn1/x_cinf.c | |||
@@ -196,6 +196,6 @@ void X509_CINF_free(X509_CINF *a) | |||
196 | M_ASN1_BIT_STRING_free(a->issuerUID); | 196 | M_ASN1_BIT_STRING_free(a->issuerUID); |
197 | M_ASN1_BIT_STRING_free(a->subjectUID); | 197 | M_ASN1_BIT_STRING_free(a->subjectUID); |
198 | sk_X509_EXTENSION_pop_free(a->extensions,X509_EXTENSION_free); | 198 | sk_X509_EXTENSION_pop_free(a->extensions,X509_EXTENSION_free); |
199 | Free(a); | 199 | OPENSSL_free(a); |
200 | } | 200 | } |
201 | 201 | ||
diff --git a/src/lib/libcrypto/asn1/x_crl.c b/src/lib/libcrypto/asn1/x_crl.c index 12a42d04c7..1f302d0e01 100644 --- a/src/lib/libcrypto/asn1/x_crl.c +++ b/src/lib/libcrypto/asn1/x_crl.c | |||
@@ -61,8 +61,10 @@ | |||
61 | #include <openssl/asn1_mac.h> | 61 | #include <openssl/asn1_mac.h> |
62 | #include <openssl/x509.h> | 62 | #include <openssl/x509.h> |
63 | 63 | ||
64 | static int X509_REVOKED_cmp(X509_REVOKED **a,X509_REVOKED **b); | 64 | static int X509_REVOKED_cmp(const X509_REVOKED * const *a, |
65 | static int X509_REVOKED_seq_cmp(X509_REVOKED **a,X509_REVOKED **b); | 65 | const X509_REVOKED * const *b); |
66 | static int X509_REVOKED_seq_cmp(const X509_REVOKED * const *a, | ||
67 | const X509_REVOKED * const *b); | ||
66 | int i2d_X509_REVOKED(X509_REVOKED *a, unsigned char **pp) | 68 | int i2d_X509_REVOKED(X509_REVOKED *a, unsigned char **pp) |
67 | { | 69 | { |
68 | M_ASN1_I2D_vars(a); | 70 | M_ASN1_I2D_vars(a); |
@@ -100,7 +102,8 @@ int i2d_X509_CRL_INFO(X509_CRL_INFO *a, unsigned char **pp) | |||
100 | { | 102 | { |
101 | int v1=0; | 103 | int v1=0; |
102 | long l=0; | 104 | long l=0; |
103 | int (*old_cmp)(X509_REVOKED **,X509_REVOKED **); | 105 | int (*old_cmp)(const X509_REVOKED * const *, |
106 | const X509_REVOKED * const *); | ||
104 | M_ASN1_I2D_vars(a); | 107 | M_ASN1_I2D_vars(a); |
105 | 108 | ||
106 | old_cmp=sk_X509_REVOKED_set_cmp_func(a->revoked,X509_REVOKED_seq_cmp); | 109 | old_cmp=sk_X509_REVOKED_set_cmp_func(a->revoked,X509_REVOKED_seq_cmp); |
@@ -283,7 +286,7 @@ void X509_REVOKED_free(X509_REVOKED *a) | |||
283 | M_ASN1_INTEGER_free(a->serialNumber); | 286 | M_ASN1_INTEGER_free(a->serialNumber); |
284 | M_ASN1_UTCTIME_free(a->revocationDate); | 287 | M_ASN1_UTCTIME_free(a->revocationDate); |
285 | sk_X509_EXTENSION_pop_free(a->extensions,X509_EXTENSION_free); | 288 | sk_X509_EXTENSION_pop_free(a->extensions,X509_EXTENSION_free); |
286 | Free(a); | 289 | OPENSSL_free(a); |
287 | } | 290 | } |
288 | 291 | ||
289 | void X509_CRL_INFO_free(X509_CRL_INFO *a) | 292 | void X509_CRL_INFO_free(X509_CRL_INFO *a) |
@@ -297,7 +300,7 @@ void X509_CRL_INFO_free(X509_CRL_INFO *a) | |||
297 | M_ASN1_UTCTIME_free(a->nextUpdate); | 300 | M_ASN1_UTCTIME_free(a->nextUpdate); |
298 | sk_X509_REVOKED_pop_free(a->revoked,X509_REVOKED_free); | 301 | sk_X509_REVOKED_pop_free(a->revoked,X509_REVOKED_free); |
299 | sk_X509_EXTENSION_pop_free(a->extensions,X509_EXTENSION_free); | 302 | sk_X509_EXTENSION_pop_free(a->extensions,X509_EXTENSION_free); |
300 | Free(a); | 303 | OPENSSL_free(a); |
301 | } | 304 | } |
302 | 305 | ||
303 | void X509_CRL_free(X509_CRL *a) | 306 | void X509_CRL_free(X509_CRL *a) |
@@ -322,17 +325,19 @@ void X509_CRL_free(X509_CRL *a) | |||
322 | X509_CRL_INFO_free(a->crl); | 325 | X509_CRL_INFO_free(a->crl); |
323 | X509_ALGOR_free(a->sig_alg); | 326 | X509_ALGOR_free(a->sig_alg); |
324 | M_ASN1_BIT_STRING_free(a->signature); | 327 | M_ASN1_BIT_STRING_free(a->signature); |
325 | Free(a); | 328 | OPENSSL_free(a); |
326 | } | 329 | } |
327 | 330 | ||
328 | static int X509_REVOKED_cmp(X509_REVOKED **a, X509_REVOKED **b) | 331 | static int X509_REVOKED_cmp(const X509_REVOKED * const *a, |
332 | const X509_REVOKED * const *b) | ||
329 | { | 333 | { |
330 | return(ASN1_STRING_cmp( | 334 | return(ASN1_STRING_cmp( |
331 | (ASN1_STRING *)(*a)->serialNumber, | 335 | (ASN1_STRING *)(*a)->serialNumber, |
332 | (ASN1_STRING *)(*b)->serialNumber)); | 336 | (ASN1_STRING *)(*b)->serialNumber)); |
333 | } | 337 | } |
334 | 338 | ||
335 | static int X509_REVOKED_seq_cmp(X509_REVOKED **a, X509_REVOKED **b) | 339 | static int X509_REVOKED_seq_cmp(const X509_REVOKED * const *a, |
340 | const X509_REVOKED * const *b) | ||
336 | { | 341 | { |
337 | return((*a)->sequence-(*b)->sequence); | 342 | return((*a)->sequence-(*b)->sequence); |
338 | } | 343 | } |
diff --git a/src/lib/libcrypto/asn1/x_exten.c b/src/lib/libcrypto/asn1/x_exten.c index 185cbd78a0..fbfd963b40 100644 --- a/src/lib/libcrypto/asn1/x_exten.c +++ b/src/lib/libcrypto/asn1/x_exten.c | |||
@@ -134,6 +134,6 @@ void X509_EXTENSION_free(X509_EXTENSION *a) | |||
134 | if (a == NULL) return; | 134 | if (a == NULL) return; |
135 | ASN1_OBJECT_free(a->object); | 135 | ASN1_OBJECT_free(a->object); |
136 | M_ASN1_OCTET_STRING_free(a->value); | 136 | M_ASN1_OCTET_STRING_free(a->value); |
137 | Free(a); | 137 | OPENSSL_free(a); |
138 | } | 138 | } |
139 | 139 | ||
diff --git a/src/lib/libcrypto/asn1/x_info.c b/src/lib/libcrypto/asn1/x_info.c index 7fdc6f9dc8..5e62fc2f6f 100644 --- a/src/lib/libcrypto/asn1/x_info.c +++ b/src/lib/libcrypto/asn1/x_info.c | |||
@@ -66,7 +66,7 @@ X509_INFO *X509_INFO_new(void) | |||
66 | { | 66 | { |
67 | X509_INFO *ret=NULL; | 67 | X509_INFO *ret=NULL; |
68 | 68 | ||
69 | ret=(X509_INFO *)Malloc(sizeof(X509_INFO)); | 69 | ret=(X509_INFO *)OPENSSL_malloc(sizeof(X509_INFO)); |
70 | if (ret == NULL) | 70 | if (ret == NULL) |
71 | { | 71 | { |
72 | ASN1err(ASN1_F_X509_INFO_NEW,ERR_R_MALLOC_FAILURE); | 72 | ASN1err(ASN1_F_X509_INFO_NEW,ERR_R_MALLOC_FAILURE); |
@@ -106,8 +106,8 @@ void X509_INFO_free(X509_INFO *x) | |||
106 | if (x->x509 != NULL) X509_free(x->x509); | 106 | if (x->x509 != NULL) X509_free(x->x509); |
107 | if (x->crl != NULL) X509_CRL_free(x->crl); | 107 | if (x->crl != NULL) X509_CRL_free(x->crl); |
108 | if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey); | 108 | if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey); |
109 | if (x->enc_data != NULL) Free(x->enc_data); | 109 | if (x->enc_data != NULL) OPENSSL_free(x->enc_data); |
110 | Free(x); | 110 | OPENSSL_free(x); |
111 | } | 111 | } |
112 | 112 | ||
113 | IMPLEMENT_STACK_OF(X509_INFO) | 113 | IMPLEMENT_STACK_OF(X509_INFO) |
diff --git a/src/lib/libcrypto/asn1/x_name.c b/src/lib/libcrypto/asn1/x_name.c index 64baf5719d..b832deb928 100644 --- a/src/lib/libcrypto/asn1/x_name.c +++ b/src/lib/libcrypto/asn1/x_name.c | |||
@@ -217,7 +217,7 @@ X509_NAME *X509_NAME_new(void) | |||
217 | ASN1_CTX c; | 217 | ASN1_CTX c; |
218 | 218 | ||
219 | M_ASN1_New_Malloc(ret,X509_NAME); | 219 | M_ASN1_New_Malloc(ret,X509_NAME); |
220 | if ((ret->entries=sk_X509_NAME_ENTRY_new(NULL)) == NULL) | 220 | if ((ret->entries=sk_X509_NAME_ENTRY_new_null()) == NULL) |
221 | { c.line=__LINE__; goto err2; } | 221 | { c.line=__LINE__; goto err2; } |
222 | M_ASN1_New(ret->bytes,BUF_MEM_new); | 222 | M_ASN1_New(ret->bytes,BUF_MEM_new); |
223 | ret->modified=1; | 223 | ret->modified=1; |
@@ -246,7 +246,7 @@ void X509_NAME_free(X509_NAME *a) | |||
246 | 246 | ||
247 | BUF_MEM_free(a->bytes); | 247 | BUF_MEM_free(a->bytes); |
248 | sk_X509_NAME_ENTRY_pop_free(a->entries,X509_NAME_ENTRY_free); | 248 | sk_X509_NAME_ENTRY_pop_free(a->entries,X509_NAME_ENTRY_free); |
249 | Free(a); | 249 | OPENSSL_free(a); |
250 | } | 250 | } |
251 | 251 | ||
252 | void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a) | 252 | void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a) |
@@ -254,7 +254,7 @@ void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a) | |||
254 | if (a == NULL) return; | 254 | if (a == NULL) return; |
255 | ASN1_OBJECT_free(a->object); | 255 | ASN1_OBJECT_free(a->object); |
256 | M_ASN1_BIT_STRING_free(a->value); | 256 | M_ASN1_BIT_STRING_free(a->value); |
257 | Free(a); | 257 | OPENSSL_free(a); |
258 | } | 258 | } |
259 | 259 | ||
260 | int X509_NAME_set(X509_NAME **xn, X509_NAME *name) | 260 | int X509_NAME_set(X509_NAME **xn, X509_NAME *name) |
diff --git a/src/lib/libcrypto/asn1/x_pkey.c b/src/lib/libcrypto/asn1/x_pkey.c index fe58919dbb..f1c6221ac3 100644 --- a/src/lib/libcrypto/asn1/x_pkey.c +++ b/src/lib/libcrypto/asn1/x_pkey.c | |||
@@ -146,6 +146,6 @@ void X509_PKEY_free(X509_PKEY *x) | |||
146 | if (x->enc_algor != NULL) X509_ALGOR_free(x->enc_algor); | 146 | if (x->enc_algor != NULL) X509_ALGOR_free(x->enc_algor); |
147 | if (x->enc_pkey != NULL) M_ASN1_OCTET_STRING_free(x->enc_pkey); | 147 | if (x->enc_pkey != NULL) M_ASN1_OCTET_STRING_free(x->enc_pkey); |
148 | if (x->dec_pkey != NULL)EVP_PKEY_free(x->dec_pkey); | 148 | if (x->dec_pkey != NULL)EVP_PKEY_free(x->dec_pkey); |
149 | if ((x->key_data != NULL) && (x->key_free)) Free(x->key_data); | 149 | if ((x->key_data != NULL) && (x->key_free)) OPENSSL_free(x->key_data); |
150 | Free(x); | 150 | OPENSSL_free(x); |
151 | } | 151 | } |
diff --git a/src/lib/libcrypto/asn1/x_pubkey.c b/src/lib/libcrypto/asn1/x_pubkey.c index 7a05d575c9..b2e2a51477 100644 --- a/src/lib/libcrypto/asn1/x_pubkey.c +++ b/src/lib/libcrypto/asn1/x_pubkey.c | |||
@@ -112,7 +112,7 @@ void X509_PUBKEY_free(X509_PUBKEY *a) | |||
112 | X509_ALGOR_free(a->algor); | 112 | X509_ALGOR_free(a->algor); |
113 | M_ASN1_BIT_STRING_free(a->public_key); | 113 | M_ASN1_BIT_STRING_free(a->public_key); |
114 | if (a->pkey != NULL) EVP_PKEY_free(a->pkey); | 114 | if (a->pkey != NULL) EVP_PKEY_free(a->pkey); |
115 | Free(a); | 115 | OPENSSL_free(a); |
116 | } | 116 | } |
117 | 117 | ||
118 | int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) | 118 | int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) |
@@ -156,14 +156,14 @@ int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) | |||
156 | dsa->write_params=0; | 156 | dsa->write_params=0; |
157 | ASN1_TYPE_free(a->parameter); | 157 | ASN1_TYPE_free(a->parameter); |
158 | i=i2d_DSAparams(dsa,NULL); | 158 | i=i2d_DSAparams(dsa,NULL); |
159 | p=(unsigned char *)Malloc(i); | 159 | p=(unsigned char *)OPENSSL_malloc(i); |
160 | pp=p; | 160 | pp=p; |
161 | i2d_DSAparams(dsa,&pp); | 161 | i2d_DSAparams(dsa,&pp); |
162 | a->parameter=ASN1_TYPE_new(); | 162 | a->parameter=ASN1_TYPE_new(); |
163 | a->parameter->type=V_ASN1_SEQUENCE; | 163 | a->parameter->type=V_ASN1_SEQUENCE; |
164 | a->parameter->value.sequence=ASN1_STRING_new(); | 164 | a->parameter->value.sequence=ASN1_STRING_new(); |
165 | ASN1_STRING_set(a->parameter->value.sequence,p,i); | 165 | ASN1_STRING_set(a->parameter->value.sequence,p,i); |
166 | Free(p); | 166 | OPENSSL_free(p); |
167 | } | 167 | } |
168 | else | 168 | else |
169 | #endif | 169 | #endif |
@@ -173,7 +173,7 @@ int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) | |||
173 | } | 173 | } |
174 | 174 | ||
175 | if ((i=i2d_PublicKey(pkey,NULL)) <= 0) goto err; | 175 | if ((i=i2d_PublicKey(pkey,NULL)) <= 0) goto err; |
176 | if ((s=(unsigned char *)Malloc(i+1)) == NULL) goto err; | 176 | if ((s=(unsigned char *)OPENSSL_malloc(i+1)) == NULL) goto err; |
177 | p=s; | 177 | p=s; |
178 | i2d_PublicKey(pkey,&p); | 178 | i2d_PublicKey(pkey,&p); |
179 | if (!M_ASN1_BIT_STRING_set(pk->public_key,s,i)) goto err; | 179 | if (!M_ASN1_BIT_STRING_set(pk->public_key,s,i)) goto err; |
@@ -181,7 +181,7 @@ int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) | |||
181 | pk->public_key->flags&= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); | 181 | pk->public_key->flags&= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); |
182 | pk->public_key->flags|=ASN1_STRING_FLAG_BITS_LEFT; | 182 | pk->public_key->flags|=ASN1_STRING_FLAG_BITS_LEFT; |
183 | 183 | ||
184 | Free(s); | 184 | OPENSSL_free(s); |
185 | 185 | ||
186 | #if 0 | 186 | #if 0 |
187 | CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY); | 187 | CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY); |
diff --git a/src/lib/libcrypto/asn1/x_req.c b/src/lib/libcrypto/asn1/x_req.c index 0cd572ee73..6dddd4f653 100644 --- a/src/lib/libcrypto/asn1/x_req.c +++ b/src/lib/libcrypto/asn1/x_req.c | |||
@@ -65,6 +65,14 @@ int i2d_X509_REQ_INFO(X509_REQ_INFO *a, unsigned char **pp) | |||
65 | { | 65 | { |
66 | M_ASN1_I2D_vars(a); | 66 | M_ASN1_I2D_vars(a); |
67 | 67 | ||
68 | if(a->asn1) { | ||
69 | if(pp) { | ||
70 | memcpy(*pp, a->asn1, a->length); | ||
71 | *pp += a->length; | ||
72 | } | ||
73 | return a->length; | ||
74 | } | ||
75 | |||
68 | M_ASN1_I2D_len(a->version, i2d_ASN1_INTEGER); | 76 | M_ASN1_I2D_len(a->version, i2d_ASN1_INTEGER); |
69 | M_ASN1_I2D_len(a->subject, i2d_X509_NAME); | 77 | M_ASN1_I2D_len(a->subject, i2d_X509_NAME); |
70 | M_ASN1_I2D_len(a->pubkey, i2d_X509_PUBKEY); | 78 | M_ASN1_I2D_len(a->pubkey, i2d_X509_PUBKEY); |
@@ -152,6 +160,7 @@ X509_REQ_INFO *X509_REQ_INFO_new(void) | |||
152 | M_ASN1_New(ret->pubkey,X509_PUBKEY_new); | 160 | M_ASN1_New(ret->pubkey,X509_PUBKEY_new); |
153 | M_ASN1_New(ret->attributes,sk_X509_ATTRIBUTE_new_null); | 161 | M_ASN1_New(ret->attributes,sk_X509_ATTRIBUTE_new_null); |
154 | ret->req_kludge=0; | 162 | ret->req_kludge=0; |
163 | ret->asn1 = NULL; | ||
155 | return(ret); | 164 | return(ret); |
156 | M_ASN1_New_Error(ASN1_F_X509_REQ_INFO_NEW); | 165 | M_ASN1_New_Error(ASN1_F_X509_REQ_INFO_NEW); |
157 | } | 166 | } |
@@ -159,11 +168,12 @@ X509_REQ_INFO *X509_REQ_INFO_new(void) | |||
159 | void X509_REQ_INFO_free(X509_REQ_INFO *a) | 168 | void X509_REQ_INFO_free(X509_REQ_INFO *a) |
160 | { | 169 | { |
161 | if (a == NULL) return; | 170 | if (a == NULL) return; |
171 | if(a->asn1) OPENSSL_free(a->asn1); | ||
162 | M_ASN1_INTEGER_free(a->version); | 172 | M_ASN1_INTEGER_free(a->version); |
163 | X509_NAME_free(a->subject); | 173 | X509_NAME_free(a->subject); |
164 | X509_PUBKEY_free(a->pubkey); | 174 | X509_PUBKEY_free(a->pubkey); |
165 | sk_X509_ATTRIBUTE_pop_free(a->attributes,X509_ATTRIBUTE_free); | 175 | sk_X509_ATTRIBUTE_pop_free(a->attributes,X509_ATTRIBUTE_free); |
166 | Free(a); | 176 | OPENSSL_free(a); |
167 | } | 177 | } |
168 | 178 | ||
169 | int i2d_X509_REQ(X509_REQ *a, unsigned char **pp) | 179 | int i2d_X509_REQ(X509_REQ *a, unsigned char **pp) |
@@ -189,6 +199,17 @@ X509_REQ *d2i_X509_REQ(X509_REQ **a, unsigned char **pp, long length) | |||
189 | M_ASN1_D2I_Init(); | 199 | M_ASN1_D2I_Init(); |
190 | M_ASN1_D2I_start_sequence(); | 200 | M_ASN1_D2I_start_sequence(); |
191 | M_ASN1_D2I_get(ret->req_info,d2i_X509_REQ_INFO); | 201 | M_ASN1_D2I_get(ret->req_info,d2i_X509_REQ_INFO); |
202 | |||
203 | /* Keep a copy of the original encoding for signature checking */ | ||
204 | ret->req_info->length = c.p - c.q; | ||
205 | if(!(ret->req_info->asn1 = OPENSSL_malloc(ret->req_info->length))) { | ||
206 | c.line=__LINE__; | ||
207 | c.error = ERR_R_MALLOC_FAILURE; | ||
208 | goto err; | ||
209 | } | ||
210 | |||
211 | memcpy(ret->req_info->asn1, c.q, ret->req_info->length); | ||
212 | |||
192 | M_ASN1_D2I_get(ret->sig_alg,d2i_X509_ALGOR); | 213 | M_ASN1_D2I_get(ret->sig_alg,d2i_X509_ALGOR); |
193 | M_ASN1_D2I_get(ret->signature,d2i_ASN1_BIT_STRING); | 214 | M_ASN1_D2I_get(ret->signature,d2i_ASN1_BIT_STRING); |
194 | M_ASN1_D2I_Finish(a,X509_REQ_free,ASN1_F_D2I_X509_REQ); | 215 | M_ASN1_D2I_Finish(a,X509_REQ_free,ASN1_F_D2I_X509_REQ); |
@@ -230,7 +251,7 @@ void X509_REQ_free(X509_REQ *a) | |||
230 | X509_REQ_INFO_free(a->req_info); | 251 | X509_REQ_INFO_free(a->req_info); |
231 | X509_ALGOR_free(a->sig_alg); | 252 | X509_ALGOR_free(a->sig_alg); |
232 | M_ASN1_BIT_STRING_free(a->signature); | 253 | M_ASN1_BIT_STRING_free(a->signature); |
233 | Free(a); | 254 | OPENSSL_free(a); |
234 | } | 255 | } |
235 | 256 | ||
236 | 257 | ||
diff --git a/src/lib/libcrypto/asn1/x_sig.c b/src/lib/libcrypto/asn1/x_sig.c index 3559bd5368..d79f147647 100644 --- a/src/lib/libcrypto/asn1/x_sig.c +++ b/src/lib/libcrypto/asn1/x_sig.c | |||
@@ -104,7 +104,7 @@ void X509_SIG_free(X509_SIG *a) | |||
104 | if (a == NULL) return; | 104 | if (a == NULL) return; |
105 | X509_ALGOR_free(a->algor); | 105 | X509_ALGOR_free(a->algor); |
106 | M_ASN1_OCTET_STRING_free(a->digest); | 106 | M_ASN1_OCTET_STRING_free(a->digest); |
107 | Free(a); | 107 | OPENSSL_free(a); |
108 | } | 108 | } |
109 | 109 | ||
110 | 110 | ||
diff --git a/src/lib/libcrypto/asn1/x_spki.c b/src/lib/libcrypto/asn1/x_spki.c index 8f5e7e6380..4f01888f7d 100644 --- a/src/lib/libcrypto/asn1/x_spki.c +++ b/src/lib/libcrypto/asn1/x_spki.c | |||
@@ -109,7 +109,7 @@ void NETSCAPE_SPKAC_free(NETSCAPE_SPKAC *a) | |||
109 | if (a == NULL) return; | 109 | if (a == NULL) return; |
110 | X509_PUBKEY_free(a->pubkey); | 110 | X509_PUBKEY_free(a->pubkey); |
111 | M_ASN1_IA5STRING_free(a->challenge); | 111 | M_ASN1_IA5STRING_free(a->challenge); |
112 | Free(a); | 112 | OPENSSL_free(a); |
113 | } | 113 | } |
114 | 114 | ||
115 | int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a, unsigned char **pp) | 115 | int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a, unsigned char **pp) |
@@ -161,6 +161,6 @@ void NETSCAPE_SPKI_free(NETSCAPE_SPKI *a) | |||
161 | NETSCAPE_SPKAC_free(a->spkac); | 161 | NETSCAPE_SPKAC_free(a->spkac); |
162 | X509_ALGOR_free(a->sig_algor); | 162 | X509_ALGOR_free(a->sig_algor); |
163 | M_ASN1_BIT_STRING_free(a->signature); | 163 | M_ASN1_BIT_STRING_free(a->signature); |
164 | Free(a); | 164 | OPENSSL_free(a); |
165 | } | 165 | } |
166 | 166 | ||
diff --git a/src/lib/libcrypto/asn1/x_val.c b/src/lib/libcrypto/asn1/x_val.c index 1a2f49ffdf..0f8f020b57 100644 --- a/src/lib/libcrypto/asn1/x_val.c +++ b/src/lib/libcrypto/asn1/x_val.c | |||
@@ -104,6 +104,6 @@ void X509_VAL_free(X509_VAL *a) | |||
104 | if (a == NULL) return; | 104 | if (a == NULL) return; |
105 | M_ASN1_TIME_free(a->notBefore); | 105 | M_ASN1_TIME_free(a->notBefore); |
106 | M_ASN1_TIME_free(a->notAfter); | 106 | M_ASN1_TIME_free(a->notAfter); |
107 | Free(a); | 107 | OPENSSL_free(a); |
108 | } | 108 | } |
109 | 109 | ||
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c index 11e564ea30..61ba856b17 100644 --- a/src/lib/libcrypto/asn1/x_x509.c +++ b/src/lib/libcrypto/asn1/x_x509.c | |||
@@ -61,6 +61,7 @@ | |||
61 | #include <openssl/evp.h> | 61 | #include <openssl/evp.h> |
62 | #include <openssl/asn1_mac.h> | 62 | #include <openssl/asn1_mac.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | #include <openssl/x509v3.h> | ||
64 | 65 | ||
65 | static int x509_meth_num = 0; | 66 | static int x509_meth_num = 0; |
66 | static STACK_OF(CRYPTO_EX_DATA_FUNCS) *x509_meth = NULL; | 67 | static STACK_OF(CRYPTO_EX_DATA_FUNCS) *x509_meth = NULL; |
@@ -102,7 +103,7 @@ X509 *d2i_X509(X509 **a, unsigned char **pp, long length) | |||
102 | M_ASN1_D2I_get(ret->cert_info,d2i_X509_CINF); | 103 | M_ASN1_D2I_get(ret->cert_info,d2i_X509_CINF); |
103 | M_ASN1_D2I_get(ret->sig_alg,d2i_X509_ALGOR); | 104 | M_ASN1_D2I_get(ret->sig_alg,d2i_X509_ALGOR); |
104 | M_ASN1_D2I_get(ret->signature,d2i_ASN1_BIT_STRING); | 105 | M_ASN1_D2I_get(ret->signature,d2i_ASN1_BIT_STRING); |
105 | if (ret->name != NULL) Free(ret->name); | 106 | if (ret->name != NULL) OPENSSL_free(ret->name); |
106 | ret->name=X509_NAME_oneline(ret->cert_info->subject,NULL,0); | 107 | ret->name=X509_NAME_oneline(ret->cert_info->subject,NULL,0); |
107 | 108 | ||
108 | M_ASN1_D2I_Finish(a,X509_free,ASN1_F_D2I_X509); | 109 | M_ASN1_D2I_Finish(a,X509_free,ASN1_F_D2I_X509); |
@@ -114,11 +115,14 @@ X509 *X509_new(void) | |||
114 | ASN1_CTX c; | 115 | ASN1_CTX c; |
115 | 116 | ||
116 | M_ASN1_New_Malloc(ret,X509); | 117 | M_ASN1_New_Malloc(ret,X509); |
117 | ret->references=1; | ||
118 | ret->valid=0; | 118 | ret->valid=0; |
119 | ret->references=1; | ||
120 | ret->name = NULL; | ||
119 | ret->ex_flags = 0; | 121 | ret->ex_flags = 0; |
120 | ret->name=NULL; | 122 | ret->ex_pathlen = -1; |
121 | ret->aux=NULL; | 123 | ret->skid = NULL; |
124 | ret->akid = NULL; | ||
125 | ret->aux = NULL; | ||
122 | M_ASN1_New(ret->cert_info,X509_CINF_new); | 126 | M_ASN1_New(ret->cert_info,X509_CINF_new); |
123 | M_ASN1_New(ret->sig_alg,X509_ALGOR_new); | 127 | M_ASN1_New(ret->sig_alg,X509_ALGOR_new); |
124 | M_ASN1_New(ret->signature,M_ASN1_BIT_STRING_new); | 128 | M_ASN1_New(ret->signature,M_ASN1_BIT_STRING_new); |
@@ -151,9 +155,11 @@ void X509_free(X509 *a) | |||
151 | X509_ALGOR_free(a->sig_alg); | 155 | X509_ALGOR_free(a->sig_alg); |
152 | M_ASN1_BIT_STRING_free(a->signature); | 156 | M_ASN1_BIT_STRING_free(a->signature); |
153 | X509_CERT_AUX_free(a->aux); | 157 | X509_CERT_AUX_free(a->aux); |
158 | ASN1_OCTET_STRING_free(a->skid); | ||
159 | AUTHORITY_KEYID_free(a->akid); | ||
154 | 160 | ||
155 | if (a->name != NULL) Free(a->name); | 161 | if (a->name != NULL) OPENSSL_free(a->name); |
156 | Free(a); | 162 | OPENSSL_free(a); |
157 | } | 163 | } |
158 | 164 | ||
159 | int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | 165 | int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, |
diff --git a/src/lib/libcrypto/asn1/x_x509a.c b/src/lib/libcrypto/asn1/x_x509a.c index b9987ea968..ebcce87bf2 100644 --- a/src/lib/libcrypto/asn1/x_x509a.c +++ b/src/lib/libcrypto/asn1/x_x509a.c | |||
@@ -112,7 +112,7 @@ void X509_CERT_AUX_free(X509_CERT_AUX *a) | |||
112 | ASN1_UTF8STRING_free(a->alias); | 112 | ASN1_UTF8STRING_free(a->alias); |
113 | ASN1_OCTET_STRING_free(a->keyid); | 113 | ASN1_OCTET_STRING_free(a->keyid); |
114 | sk_X509_ALGOR_pop_free(a->other, X509_ALGOR_free); | 114 | sk_X509_ALGOR_pop_free(a->other, X509_ALGOR_free); |
115 | Free(a); | 115 | OPENSSL_free(a); |
116 | } | 116 | } |
117 | 117 | ||
118 | int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **pp) | 118 | int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **pp) |
@@ -153,6 +153,14 @@ int X509_alias_set1(X509 *x, unsigned char *name, int len) | |||
153 | return ASN1_STRING_set(aux->alias, name, len); | 153 | return ASN1_STRING_set(aux->alias, name, len); |
154 | } | 154 | } |
155 | 155 | ||
156 | int X509_keyid_set1(X509 *x, unsigned char *id, int len) | ||
157 | { | ||
158 | X509_CERT_AUX *aux; | ||
159 | if(!(aux = aux_get(x))) return 0; | ||
160 | if(!aux->keyid && !(aux->keyid = ASN1_OCTET_STRING_new())) return 0; | ||
161 | return ASN1_STRING_set(aux->keyid, id, len); | ||
162 | } | ||
163 | |||
156 | unsigned char *X509_alias_get0(X509 *x, int *len) | 164 | unsigned char *X509_alias_get0(X509 *x, int *len) |
157 | { | 165 | { |
158 | if(!x->aux || !x->aux->alias) return NULL; | 166 | if(!x->aux || !x->aux->alias) return NULL; |