summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r--src/lib/libcrypto/x509/Makefile592
-rw-r--r--src/lib/libcrypto/x509/Makefile.ssl594
-rw-r--r--src/lib/libcrypto/x509/by_file.c4
-rw-r--r--src/lib/libcrypto/x509/x509.h11
-rw-r--r--src/lib/libcrypto/x509/x509_cmp.c48
-rw-r--r--src/lib/libcrypto/x509/x509_r2x.c6
-rw-r--r--src/lib/libcrypto/x509/x509_req.c35
-rw-r--r--src/lib/libcrypto/x509/x509_txt.c13
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.c131
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h8
-rw-r--r--src/lib/libcrypto/x509/x509cset.c1
-rw-r--r--src/lib/libcrypto/x509/x509name.c10
-rw-r--r--src/lib/libcrypto/x509/x_all.c1
13 files changed, 1249 insertions, 205 deletions
diff --git a/src/lib/libcrypto/x509/Makefile b/src/lib/libcrypto/x509/Makefile
new file mode 100644
index 0000000000..5fb774f1c7
--- /dev/null
+++ b/src/lib/libcrypto/x509/Makefile
@@ -0,0 +1,592 @@
1#
2# SSLeay/crypto/x509/Makefile
3#
4
5DIR= x509
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I$(TOP) -I../../include
9CFLAG=-g
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
12INSTALLTOP=/usr/local/ssl
13MAKEDEPPROG= makedepend
14MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
15MAKEFILE= Makefile
16AR= ar r
17
18CFLAGS= $(INCLUDES) $(CFLAG)
19
20GENERAL=Makefile README
21TEST=
22APPS=
23
24LIB=$(TOP)/libcrypto.a
25LIBSRC= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c \
26 x509_obj.c x509_req.c x509spki.c x509_vfy.c \
27 x509_set.c x509cset.c x509rset.c x509_err.c \
28 x509name.c x509_v3.c x509_ext.c x509_att.c \
29 x509type.c x509_lu.c x_all.c x509_txt.c \
30 x509_trs.c by_file.c by_dir.c
31LIBOBJ= x509_def.o x509_d2.o x509_r2x.o x509_cmp.o \
32 x509_obj.o x509_req.o x509spki.o x509_vfy.o \
33 x509_set.o x509cset.o x509rset.o x509_err.o \
34 x509name.o x509_v3.o x509_ext.o x509_att.o \
35 x509type.o x509_lu.o x_all.o x509_txt.o \
36 x509_trs.o by_file.o by_dir.o
37
38SRC= $(LIBSRC)
39
40EXHEADER= x509.h x509_vfy.h
41HEADER= $(EXHEADER)
42
43ALL= $(GENERAL) $(SRC) $(HEADER)
44
45top:
46 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
47
48all: lib
49
50lib: $(LIBOBJ)
51 $(AR) $(LIB) $(LIBOBJ)
52 $(RANLIB) $(LIB) || echo Never mind.
53 @touch lib
54
55files:
56 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
57
58links:
59 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
60 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
61 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
62
63install:
64 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
65 do \
66 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
67 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
68 done;
69
70tags:
71 ctags $(SRC)
72
73tests:
74
75lint:
76 lint -DLINT $(INCLUDES) $(SRC)>fluff
77
78depend:
79 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
80
81dclean:
82 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
83 mv -f Makefile.new $(MAKEFILE)
84
85clean:
86 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
87
88# DO NOT DELETE THIS LINE -- make depend depends on it.
89
90by_dir.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h
91by_dir.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
92by_dir.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
93by_dir.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
94by_dir.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
95by_dir.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
96by_dir.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
97by_dir.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
98by_dir.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
99by_dir.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
100by_dir.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
101by_dir.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
102by_dir.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
103by_dir.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
104by_dir.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
105by_dir.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
106by_dir.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
107by_dir.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
108by_dir.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
109by_dir.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
110by_dir.o: ../cryptlib.h by_dir.c
111by_file.o: ../../e_os.h ../../include/openssl/aes.h
112by_file.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
113by_file.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
114by_file.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
115by_file.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
116by_file.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
117by_file.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
118by_file.o: ../../include/openssl/err.h ../../include/openssl/evp.h
119by_file.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
120by_file.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
121by_file.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
122by_file.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
123by_file.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
124by_file.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
125by_file.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
126by_file.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
127by_file.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
128by_file.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
129by_file.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
130by_file.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
131by_file.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
132by_file.o: ../../include/openssl/x509_vfy.h ../cryptlib.h by_file.c
133x509_att.o: ../../e_os.h ../../include/openssl/aes.h
134x509_att.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
135x509_att.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
136x509_att.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
137x509_att.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
138x509_att.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
139x509_att.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
140x509_att.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
141x509_att.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
142x509_att.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
143x509_att.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
144x509_att.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
145x509_att.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
146x509_att.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
147x509_att.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
148x509_att.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
149x509_att.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
150x509_att.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
151x509_att.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
152x509_att.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
153x509_att.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
154x509_att.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_att.c
155x509_cmp.o: ../../e_os.h ../../include/openssl/aes.h
156x509_cmp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
157x509_cmp.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
158x509_cmp.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
159x509_cmp.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
160x509_cmp.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
161x509_cmp.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
162x509_cmp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
163x509_cmp.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
164x509_cmp.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
165x509_cmp.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
166x509_cmp.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
167x509_cmp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
168x509_cmp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
169x509_cmp.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
170x509_cmp.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
171x509_cmp.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
172x509_cmp.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
173x509_cmp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
174x509_cmp.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
175x509_cmp.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
176x509_cmp.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_cmp.c
177x509_d2.o: ../../e_os.h ../../include/openssl/aes.h
178x509_d2.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
179x509_d2.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
180x509_d2.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
181x509_d2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
182x509_d2.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
183x509_d2.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
184x509_d2.o: ../../include/openssl/err.h ../../include/openssl/evp.h
185x509_d2.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
186x509_d2.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
187x509_d2.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
188x509_d2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
189x509_d2.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
190x509_d2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
191x509_d2.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
192x509_d2.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
193x509_d2.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
194x509_d2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
195x509_d2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
196x509_d2.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
197x509_d2.o: ../../include/openssl/x509_vfy.h ../cryptlib.h x509_d2.c
198x509_def.o: ../../e_os.h ../../include/openssl/aes.h
199x509_def.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
200x509_def.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
201x509_def.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
202x509_def.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
203x509_def.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
204x509_def.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
205x509_def.o: ../../include/openssl/err.h ../../include/openssl/evp.h
206x509_def.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
207x509_def.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
208x509_def.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
209x509_def.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
210x509_def.o: ../../include/openssl/opensslconf.h
211x509_def.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
212x509_def.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
213x509_def.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
214x509_def.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
215x509_def.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
216x509_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
217x509_def.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
218x509_def.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
219x509_def.o: ../cryptlib.h x509_def.c
220x509_err.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
221x509_err.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
222x509_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
223x509_err.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
224x509_err.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
225x509_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
226x509_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
227x509_err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
228x509_err.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
229x509_err.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
230x509_err.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
231x509_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
232x509_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
233x509_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
234x509_err.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
235x509_err.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
236x509_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
237x509_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
238x509_err.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
239x509_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
240x509_err.o: x509_err.c
241x509_ext.o: ../../e_os.h ../../include/openssl/aes.h
242x509_ext.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
243x509_ext.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
244x509_ext.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
245x509_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
246x509_ext.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
247x509_ext.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
248x509_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
249x509_ext.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
250x509_ext.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
251x509_ext.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
252x509_ext.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
253x509_ext.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
254x509_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
255x509_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
256x509_ext.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
257x509_ext.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
258x509_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
259x509_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
260x509_ext.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
261x509_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
262x509_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_ext.c
263x509_lu.o: ../../e_os.h ../../include/openssl/aes.h
264x509_lu.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
265x509_lu.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
266x509_lu.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
267x509_lu.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
268x509_lu.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
269x509_lu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
270x509_lu.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
271x509_lu.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
272x509_lu.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
273x509_lu.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
274x509_lu.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
275x509_lu.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
276x509_lu.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
277x509_lu.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
278x509_lu.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
279x509_lu.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
280x509_lu.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
281x509_lu.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
282x509_lu.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
283x509_lu.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
284x509_lu.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_lu.c
285x509_obj.o: ../../e_os.h ../../include/openssl/aes.h
286x509_obj.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
287x509_obj.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
288x509_obj.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
289x509_obj.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
290x509_obj.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
291x509_obj.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
292x509_obj.o: ../../include/openssl/err.h ../../include/openssl/evp.h
293x509_obj.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
294x509_obj.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
295x509_obj.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
296x509_obj.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
297x509_obj.o: ../../include/openssl/opensslconf.h
298x509_obj.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
299x509_obj.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
300x509_obj.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
301x509_obj.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
302x509_obj.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
303x509_obj.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
304x509_obj.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
305x509_obj.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
306x509_obj.o: ../cryptlib.h x509_obj.c
307x509_r2x.o: ../../e_os.h ../../include/openssl/aes.h
308x509_r2x.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
309x509_r2x.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
310x509_r2x.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
311x509_r2x.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
312x509_r2x.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
313x509_r2x.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
314x509_r2x.o: ../../include/openssl/err.h ../../include/openssl/evp.h
315x509_r2x.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
316x509_r2x.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
317x509_r2x.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
318x509_r2x.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
319x509_r2x.o: ../../include/openssl/opensslconf.h
320x509_r2x.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
321x509_r2x.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
322x509_r2x.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
323x509_r2x.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
324x509_r2x.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
325x509_r2x.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
326x509_r2x.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
327x509_r2x.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
328x509_r2x.o: ../cryptlib.h x509_r2x.c
329x509_req.o: ../../e_os.h ../../include/openssl/aes.h
330x509_req.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
331x509_req.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
332x509_req.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
333x509_req.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
334x509_req.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
335x509_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
336x509_req.o: ../../include/openssl/err.h ../../include/openssl/evp.h
337x509_req.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
338x509_req.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
339x509_req.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
340x509_req.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
341x509_req.o: ../../include/openssl/opensslconf.h
342x509_req.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
343x509_req.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
344x509_req.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
345x509_req.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
346x509_req.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
347x509_req.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
348x509_req.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
349x509_req.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
350x509_req.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
351x509_req.o: ../cryptlib.h x509_req.c
352x509_set.o: ../../e_os.h ../../include/openssl/aes.h
353x509_set.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
354x509_set.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
355x509_set.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
356x509_set.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
357x509_set.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
358x509_set.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
359x509_set.o: ../../include/openssl/err.h ../../include/openssl/evp.h
360x509_set.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
361x509_set.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
362x509_set.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
363x509_set.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
364x509_set.o: ../../include/openssl/opensslconf.h
365x509_set.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
366x509_set.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
367x509_set.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
368x509_set.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
369x509_set.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
370x509_set.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
371x509_set.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
372x509_set.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
373x509_set.o: ../cryptlib.h x509_set.c
374x509_trs.o: ../../e_os.h ../../include/openssl/aes.h
375x509_trs.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
376x509_trs.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
377x509_trs.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
378x509_trs.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
379x509_trs.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
380x509_trs.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
381x509_trs.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
382x509_trs.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
383x509_trs.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
384x509_trs.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
385x509_trs.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
386x509_trs.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
387x509_trs.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
388x509_trs.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
389x509_trs.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
390x509_trs.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
391x509_trs.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
392x509_trs.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
393x509_trs.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
394x509_trs.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
395x509_trs.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_trs.c
396x509_txt.o: ../../e_os.h ../../include/openssl/aes.h
397x509_txt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
398x509_txt.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
399x509_txt.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
400x509_txt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
401x509_txt.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
402x509_txt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
403x509_txt.o: ../../include/openssl/err.h ../../include/openssl/evp.h
404x509_txt.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
405x509_txt.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
406x509_txt.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
407x509_txt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
408x509_txt.o: ../../include/openssl/opensslconf.h
409x509_txt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
410x509_txt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
411x509_txt.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
412x509_txt.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
413x509_txt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
414x509_txt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
415x509_txt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
416x509_txt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
417x509_txt.o: ../cryptlib.h x509_txt.c
418x509_v3.o: ../../e_os.h ../../include/openssl/aes.h
419x509_v3.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
420x509_v3.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
421x509_v3.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
422x509_v3.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
423x509_v3.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
424x509_v3.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
425x509_v3.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
426x509_v3.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
427x509_v3.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
428x509_v3.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
429x509_v3.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
430x509_v3.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
431x509_v3.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
432x509_v3.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
433x509_v3.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
434x509_v3.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
435x509_v3.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
436x509_v3.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
437x509_v3.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
438x509_v3.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
439x509_v3.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_v3.c
440x509_vfy.o: ../../e_os.h ../../include/openssl/aes.h
441x509_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
442x509_vfy.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
443x509_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
444x509_vfy.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
445x509_vfy.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
446x509_vfy.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
447x509_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
448x509_vfy.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
449x509_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
450x509_vfy.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
451x509_vfy.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
452x509_vfy.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
453x509_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
454x509_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
455x509_vfy.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
456x509_vfy.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
457x509_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
458x509_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
459x509_vfy.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
460x509_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
461x509_vfy.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_vfy.c
462x509cset.o: ../../e_os.h ../../include/openssl/aes.h
463x509cset.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
464x509cset.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
465x509cset.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
466x509cset.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
467x509cset.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
468x509cset.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
469x509cset.o: ../../include/openssl/err.h ../../include/openssl/evp.h
470x509cset.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
471x509cset.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
472x509cset.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
473x509cset.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
474x509cset.o: ../../include/openssl/opensslconf.h
475x509cset.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
476x509cset.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
477x509cset.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
478x509cset.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
479x509cset.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
480x509cset.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
481x509cset.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
482x509cset.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
483x509cset.o: ../cryptlib.h x509cset.c
484x509name.o: ../../e_os.h ../../include/openssl/aes.h
485x509name.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
486x509name.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
487x509name.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
488x509name.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
489x509name.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
490x509name.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
491x509name.o: ../../include/openssl/err.h ../../include/openssl/evp.h
492x509name.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
493x509name.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
494x509name.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
495x509name.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
496x509name.o: ../../include/openssl/opensslconf.h
497x509name.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
498x509name.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
499x509name.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
500x509name.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
501x509name.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
502x509name.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
503x509name.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
504x509name.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
505x509name.o: ../cryptlib.h x509name.c
506x509rset.o: ../../e_os.h ../../include/openssl/aes.h
507x509rset.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
508x509rset.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
509x509rset.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
510x509rset.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
511x509rset.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
512x509rset.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
513x509rset.o: ../../include/openssl/err.h ../../include/openssl/evp.h
514x509rset.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
515x509rset.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
516x509rset.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
517x509rset.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
518x509rset.o: ../../include/openssl/opensslconf.h
519x509rset.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
520x509rset.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
521x509rset.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
522x509rset.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
523x509rset.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
524x509rset.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
525x509rset.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
526x509rset.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
527x509rset.o: ../cryptlib.h x509rset.c
528x509spki.o: ../../e_os.h ../../include/openssl/aes.h
529x509spki.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
530x509spki.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
531x509spki.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
532x509spki.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
533x509spki.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
534x509spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
535x509spki.o: ../../include/openssl/err.h ../../include/openssl/evp.h
536x509spki.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
537x509spki.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
538x509spki.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
539x509spki.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
540x509spki.o: ../../include/openssl/opensslconf.h
541x509spki.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
542x509spki.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
543x509spki.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
544x509spki.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
545x509spki.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
546x509spki.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
547x509spki.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
548x509spki.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
549x509spki.o: ../cryptlib.h x509spki.c
550x509type.o: ../../e_os.h ../../include/openssl/aes.h
551x509type.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
552x509type.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
553x509type.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
554x509type.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
555x509type.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
556x509type.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
557x509type.o: ../../include/openssl/err.h ../../include/openssl/evp.h
558x509type.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
559x509type.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
560x509type.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
561x509type.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
562x509type.o: ../../include/openssl/opensslconf.h
563x509type.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
564x509type.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
565x509type.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
566x509type.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
567x509type.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
568x509type.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
569x509type.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
570x509type.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
571x509type.o: ../cryptlib.h x509type.c
572x_all.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h
573x_all.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
574x_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
575x_all.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
576x_all.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
577x_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
578x_all.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
579x_all.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
580x_all.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
581x_all.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
582x_all.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
583x_all.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
584x_all.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
585x_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
586x_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
587x_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
588x_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
589x_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
590x_all.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
591x_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
592x_all.o: ../cryptlib.h x_all.c
diff --git a/src/lib/libcrypto/x509/Makefile.ssl b/src/lib/libcrypto/x509/Makefile.ssl
new file mode 100644
index 0000000000..3a3452536c
--- /dev/null
+++ b/src/lib/libcrypto/x509/Makefile.ssl
@@ -0,0 +1,594 @@
1#
2# SSLeay/crypto/x509/Makefile
3#
4
5DIR= x509
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I$(TOP) -I../../include
9CFLAG=-g
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
12INSTALLTOP=/usr/local/ssl
13MAKE= make -f Makefile.ssl
14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16MAKEFILE= Makefile.ssl
17AR= ar r
18
19CFLAGS= $(INCLUDES) $(CFLAG)
20
21GENERAL=Makefile README
22TEST=
23APPS=
24
25LIB=$(TOP)/libcrypto.a
26LIBSRC= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c \
27 x509_obj.c x509_req.c x509spki.c x509_vfy.c \
28 x509_set.c x509cset.c x509rset.c x509_err.c \
29 x509name.c x509_v3.c x509_ext.c x509_att.c \
30 x509type.c x509_lu.c x_all.c x509_txt.c \
31 x509_trs.c by_file.c by_dir.c
32LIBOBJ= x509_def.o x509_d2.o x509_r2x.o x509_cmp.o \
33 x509_obj.o x509_req.o x509spki.o x509_vfy.o \
34 x509_set.o x509cset.o x509rset.o x509_err.o \
35 x509name.o x509_v3.o x509_ext.o x509_att.o \
36 x509type.o x509_lu.o x_all.o x509_txt.o \
37 x509_trs.o by_file.o by_dir.o
38
39SRC= $(LIBSRC)
40
41EXHEADER= x509.h x509_vfy.h
42HEADER= $(EXHEADER)
43
44ALL= $(GENERAL) $(SRC) $(HEADER)
45
46top:
47 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
48
49all: lib
50
51lib: $(LIBOBJ)
52 $(AR) $(LIB) $(LIBOBJ)
53 $(RANLIB) $(LIB) || echo Never mind.
54 @touch lib
55
56files:
57 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
58
59links:
60 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
61 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
62 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
63 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
64
65install:
66 @for i in $(EXHEADER) ; \
67 do \
68 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
69 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
70 done;
71
72tags:
73 ctags $(SRC)
74
75tests:
76
77lint:
78 lint -DLINT $(INCLUDES) $(SRC)>fluff
79
80depend:
81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
82
83dclean:
84 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
85 mv -f Makefile.new $(MAKEFILE)
86
87clean:
88 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
89
90# DO NOT DELETE THIS LINE -- make depend depends on it.
91
92by_dir.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h
93by_dir.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
94by_dir.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
95by_dir.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
96by_dir.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
97by_dir.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
98by_dir.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
99by_dir.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
100by_dir.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
101by_dir.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
102by_dir.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
103by_dir.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
104by_dir.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
105by_dir.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
106by_dir.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
107by_dir.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
108by_dir.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
109by_dir.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
110by_dir.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
111by_dir.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
112by_dir.o: ../cryptlib.h by_dir.c
113by_file.o: ../../e_os.h ../../include/openssl/aes.h
114by_file.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
115by_file.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
116by_file.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
117by_file.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
118by_file.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
119by_file.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
120by_file.o: ../../include/openssl/err.h ../../include/openssl/evp.h
121by_file.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
122by_file.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
123by_file.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
124by_file.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
125by_file.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
126by_file.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
127by_file.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
128by_file.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
129by_file.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
130by_file.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
131by_file.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
132by_file.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
133by_file.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
134by_file.o: ../../include/openssl/x509_vfy.h ../cryptlib.h by_file.c
135x509_att.o: ../../e_os.h ../../include/openssl/aes.h
136x509_att.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
137x509_att.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
138x509_att.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
139x509_att.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
140x509_att.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
141x509_att.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
142x509_att.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
143x509_att.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
144x509_att.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
145x509_att.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
146x509_att.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
147x509_att.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
148x509_att.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
149x509_att.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
150x509_att.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
151x509_att.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
152x509_att.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
153x509_att.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
154x509_att.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
155x509_att.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
156x509_att.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_att.c
157x509_cmp.o: ../../e_os.h ../../include/openssl/aes.h
158x509_cmp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
159x509_cmp.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
160x509_cmp.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
161x509_cmp.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
162x509_cmp.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
163x509_cmp.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
164x509_cmp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
165x509_cmp.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
166x509_cmp.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
167x509_cmp.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
168x509_cmp.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
169x509_cmp.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
170x509_cmp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
171x509_cmp.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
172x509_cmp.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
173x509_cmp.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
174x509_cmp.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
175x509_cmp.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
176x509_cmp.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
177x509_cmp.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
178x509_cmp.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_cmp.c
179x509_d2.o: ../../e_os.h ../../include/openssl/aes.h
180x509_d2.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
181x509_d2.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
182x509_d2.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
183x509_d2.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
184x509_d2.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
185x509_d2.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
186x509_d2.o: ../../include/openssl/err.h ../../include/openssl/evp.h
187x509_d2.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
188x509_d2.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
189x509_d2.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
190x509_d2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
191x509_d2.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
192x509_d2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
193x509_d2.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
194x509_d2.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
195x509_d2.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
196x509_d2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
197x509_d2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
198x509_d2.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
199x509_d2.o: ../../include/openssl/x509_vfy.h ../cryptlib.h x509_d2.c
200x509_def.o: ../../e_os.h ../../include/openssl/aes.h
201x509_def.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
202x509_def.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
203x509_def.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
204x509_def.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
205x509_def.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
206x509_def.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
207x509_def.o: ../../include/openssl/err.h ../../include/openssl/evp.h
208x509_def.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
209x509_def.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
210x509_def.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
211x509_def.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
212x509_def.o: ../../include/openssl/opensslconf.h
213x509_def.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
214x509_def.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
215x509_def.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
216x509_def.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
217x509_def.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
218x509_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
219x509_def.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
220x509_def.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
221x509_def.o: ../cryptlib.h x509_def.c
222x509_err.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
223x509_err.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
224x509_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
225x509_err.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
226x509_err.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
227x509_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
228x509_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
229x509_err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
230x509_err.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
231x509_err.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
232x509_err.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
233x509_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
234x509_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
235x509_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
236x509_err.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
237x509_err.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
238x509_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
239x509_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
240x509_err.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
241x509_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
242x509_err.o: x509_err.c
243x509_ext.o: ../../e_os.h ../../include/openssl/aes.h
244x509_ext.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
245x509_ext.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
246x509_ext.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
247x509_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
248x509_ext.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
249x509_ext.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
250x509_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
251x509_ext.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
252x509_ext.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
253x509_ext.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
254x509_ext.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
255x509_ext.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
256x509_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
257x509_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
258x509_ext.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
259x509_ext.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
260x509_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
261x509_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
262x509_ext.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
263x509_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
264x509_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_ext.c
265x509_lu.o: ../../e_os.h ../../include/openssl/aes.h
266x509_lu.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
267x509_lu.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
268x509_lu.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
269x509_lu.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
270x509_lu.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
271x509_lu.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
272x509_lu.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
273x509_lu.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
274x509_lu.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
275x509_lu.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
276x509_lu.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
277x509_lu.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
278x509_lu.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
279x509_lu.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
280x509_lu.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
281x509_lu.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
282x509_lu.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
283x509_lu.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
284x509_lu.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
285x509_lu.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
286x509_lu.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_lu.c
287x509_obj.o: ../../e_os.h ../../include/openssl/aes.h
288x509_obj.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
289x509_obj.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
290x509_obj.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
291x509_obj.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
292x509_obj.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
293x509_obj.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
294x509_obj.o: ../../include/openssl/err.h ../../include/openssl/evp.h
295x509_obj.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
296x509_obj.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
297x509_obj.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
298x509_obj.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
299x509_obj.o: ../../include/openssl/opensslconf.h
300x509_obj.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
301x509_obj.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
302x509_obj.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
303x509_obj.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
304x509_obj.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
305x509_obj.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
306x509_obj.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
307x509_obj.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
308x509_obj.o: ../cryptlib.h x509_obj.c
309x509_r2x.o: ../../e_os.h ../../include/openssl/aes.h
310x509_r2x.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
311x509_r2x.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
312x509_r2x.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
313x509_r2x.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
314x509_r2x.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
315x509_r2x.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
316x509_r2x.o: ../../include/openssl/err.h ../../include/openssl/evp.h
317x509_r2x.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
318x509_r2x.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
319x509_r2x.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
320x509_r2x.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
321x509_r2x.o: ../../include/openssl/opensslconf.h
322x509_r2x.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
323x509_r2x.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
324x509_r2x.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
325x509_r2x.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
326x509_r2x.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
327x509_r2x.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
328x509_r2x.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
329x509_r2x.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
330x509_r2x.o: ../cryptlib.h x509_r2x.c
331x509_req.o: ../../e_os.h ../../include/openssl/aes.h
332x509_req.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
333x509_req.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
334x509_req.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
335x509_req.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
336x509_req.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
337x509_req.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
338x509_req.o: ../../include/openssl/err.h ../../include/openssl/evp.h
339x509_req.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
340x509_req.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
341x509_req.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
342x509_req.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
343x509_req.o: ../../include/openssl/opensslconf.h
344x509_req.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
345x509_req.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
346x509_req.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
347x509_req.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
348x509_req.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
349x509_req.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
350x509_req.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
351x509_req.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
352x509_req.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
353x509_req.o: ../cryptlib.h x509_req.c
354x509_set.o: ../../e_os.h ../../include/openssl/aes.h
355x509_set.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
356x509_set.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
357x509_set.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
358x509_set.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
359x509_set.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
360x509_set.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
361x509_set.o: ../../include/openssl/err.h ../../include/openssl/evp.h
362x509_set.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
363x509_set.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
364x509_set.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
365x509_set.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
366x509_set.o: ../../include/openssl/opensslconf.h
367x509_set.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
368x509_set.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
369x509_set.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
370x509_set.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
371x509_set.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
372x509_set.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
373x509_set.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
374x509_set.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
375x509_set.o: ../cryptlib.h x509_set.c
376x509_trs.o: ../../e_os.h ../../include/openssl/aes.h
377x509_trs.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
378x509_trs.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
379x509_trs.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
380x509_trs.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
381x509_trs.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
382x509_trs.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
383x509_trs.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
384x509_trs.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
385x509_trs.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
386x509_trs.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
387x509_trs.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
388x509_trs.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
389x509_trs.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
390x509_trs.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
391x509_trs.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
392x509_trs.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
393x509_trs.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
394x509_trs.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
395x509_trs.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
396x509_trs.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
397x509_trs.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_trs.c
398x509_txt.o: ../../e_os.h ../../include/openssl/aes.h
399x509_txt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
400x509_txt.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
401x509_txt.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
402x509_txt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
403x509_txt.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
404x509_txt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
405x509_txt.o: ../../include/openssl/err.h ../../include/openssl/evp.h
406x509_txt.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
407x509_txt.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
408x509_txt.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
409x509_txt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
410x509_txt.o: ../../include/openssl/opensslconf.h
411x509_txt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
412x509_txt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
413x509_txt.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
414x509_txt.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
415x509_txt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
416x509_txt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
417x509_txt.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
418x509_txt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
419x509_txt.o: ../cryptlib.h x509_txt.c
420x509_v3.o: ../../e_os.h ../../include/openssl/aes.h
421x509_v3.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
422x509_v3.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
423x509_v3.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
424x509_v3.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
425x509_v3.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
426x509_v3.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
427x509_v3.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
428x509_v3.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
429x509_v3.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
430x509_v3.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
431x509_v3.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
432x509_v3.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
433x509_v3.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
434x509_v3.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
435x509_v3.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
436x509_v3.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
437x509_v3.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
438x509_v3.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
439x509_v3.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
440x509_v3.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
441x509_v3.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_v3.c
442x509_vfy.o: ../../e_os.h ../../include/openssl/aes.h
443x509_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
444x509_vfy.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
445x509_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
446x509_vfy.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
447x509_vfy.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
448x509_vfy.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
449x509_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
450x509_vfy.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
451x509_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
452x509_vfy.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
453x509_vfy.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
454x509_vfy.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
455x509_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
456x509_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
457x509_vfy.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
458x509_vfy.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
459x509_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
460x509_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
461x509_vfy.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
462x509_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
463x509_vfy.o: ../../include/openssl/x509v3.h ../cryptlib.h x509_vfy.c
464x509cset.o: ../../e_os.h ../../include/openssl/aes.h
465x509cset.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
466x509cset.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
467x509cset.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
468x509cset.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
469x509cset.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
470x509cset.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
471x509cset.o: ../../include/openssl/err.h ../../include/openssl/evp.h
472x509cset.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
473x509cset.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
474x509cset.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
475x509cset.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
476x509cset.o: ../../include/openssl/opensslconf.h
477x509cset.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
478x509cset.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
479x509cset.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
480x509cset.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
481x509cset.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
482x509cset.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
483x509cset.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
484x509cset.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
485x509cset.o: ../cryptlib.h x509cset.c
486x509name.o: ../../e_os.h ../../include/openssl/aes.h
487x509name.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
488x509name.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
489x509name.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
490x509name.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
491x509name.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
492x509name.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
493x509name.o: ../../include/openssl/err.h ../../include/openssl/evp.h
494x509name.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
495x509name.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
496x509name.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
497x509name.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
498x509name.o: ../../include/openssl/opensslconf.h
499x509name.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
500x509name.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
501x509name.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
502x509name.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
503x509name.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
504x509name.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
505x509name.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
506x509name.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
507x509name.o: ../cryptlib.h x509name.c
508x509rset.o: ../../e_os.h ../../include/openssl/aes.h
509x509rset.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
510x509rset.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
511x509rset.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
512x509rset.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
513x509rset.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
514x509rset.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
515x509rset.o: ../../include/openssl/err.h ../../include/openssl/evp.h
516x509rset.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
517x509rset.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
518x509rset.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
519x509rset.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
520x509rset.o: ../../include/openssl/opensslconf.h
521x509rset.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
522x509rset.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
523x509rset.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
524x509rset.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
525x509rset.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
526x509rset.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
527x509rset.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
528x509rset.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
529x509rset.o: ../cryptlib.h x509rset.c
530x509spki.o: ../../e_os.h ../../include/openssl/aes.h
531x509spki.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
532x509spki.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
533x509spki.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
534x509spki.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
535x509spki.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
536x509spki.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
537x509spki.o: ../../include/openssl/err.h ../../include/openssl/evp.h
538x509spki.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
539x509spki.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
540x509spki.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
541x509spki.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
542x509spki.o: ../../include/openssl/opensslconf.h
543x509spki.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
544x509spki.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
545x509spki.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
546x509spki.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
547x509spki.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
548x509spki.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
549x509spki.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
550x509spki.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
551x509spki.o: ../cryptlib.h x509spki.c
552x509type.o: ../../e_os.h ../../include/openssl/aes.h
553x509type.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
554x509type.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
555x509type.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
556x509type.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
557x509type.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
558x509type.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
559x509type.o: ../../include/openssl/err.h ../../include/openssl/evp.h
560x509type.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
561x509type.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
562x509type.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
563x509type.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
564x509type.o: ../../include/openssl/opensslconf.h
565x509type.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
566x509type.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
567x509type.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
568x509type.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
569x509type.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
570x509type.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
571x509type.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
572x509type.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
573x509type.o: ../cryptlib.h x509type.c
574x_all.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h
575x_all.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
576x_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
577x_all.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
578x_all.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
579x_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
580x_all.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
581x_all.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
582x_all.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
583x_all.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
584x_all.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
585x_all.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
586x_all.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
587x_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
588x_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
589x_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
590x_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
591x_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
592x_all.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
593x_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
594x_all.o: ../cryptlib.h x_all.c
diff --git a/src/lib/libcrypto/x509/by_file.c b/src/lib/libcrypto/x509/by_file.c
index a5e0d4aefa..b4b04183d0 100644
--- a/src/lib/libcrypto/x509/by_file.c
+++ b/src/lib/libcrypto/x509/by_file.c
@@ -150,7 +150,7 @@ int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type)
150 x=PEM_read_bio_X509_AUX(in,NULL,NULL,NULL); 150 x=PEM_read_bio_X509_AUX(in,NULL,NULL,NULL);
151 if (x == NULL) 151 if (x == NULL)
152 { 152 {
153 if ((ERR_GET_REASON(ERR_peek_last_error()) == 153 if ((ERR_GET_REASON(ERR_peek_error()) ==
154 PEM_R_NO_START_LINE) && (count > 0)) 154 PEM_R_NO_START_LINE) && (count > 0))
155 { 155 {
156 ERR_clear_error(); 156 ERR_clear_error();
@@ -217,7 +217,7 @@ int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type)
217 x=PEM_read_bio_X509_CRL(in,NULL,NULL,NULL); 217 x=PEM_read_bio_X509_CRL(in,NULL,NULL,NULL);
218 if (x == NULL) 218 if (x == NULL)
219 { 219 {
220 if ((ERR_GET_REASON(ERR_peek_last_error()) == 220 if ((ERR_GET_REASON(ERR_peek_error()) ==
221 PEM_R_NO_START_LINE) && (count > 0)) 221 PEM_R_NO_START_LINE) && (count > 0))
222 { 222 {
223 ERR_clear_error(); 223 ERR_clear_error();
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index e8c1a59cf2..8d0c7e2e17 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -410,7 +410,6 @@ typedef struct X509_crl_info_st
410 ASN1_TIME *nextUpdate; 410 ASN1_TIME *nextUpdate;
411 STACK_OF(X509_REVOKED) *revoked; 411 STACK_OF(X509_REVOKED) *revoked;
412 STACK_OF(X509_EXTENSION) /* [0] */ *extensions; 412 STACK_OF(X509_EXTENSION) /* [0] */ *extensions;
413 ASN1_ENCODING enc;
414 } X509_CRL_INFO; 413 } X509_CRL_INFO;
415 414
416struct X509_crl_st 415struct X509_crl_st
@@ -1038,18 +1037,18 @@ int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type,
1038int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, 1037int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,
1039 unsigned char *bytes, int len, int loc, int set); 1038 unsigned char *bytes, int len, int loc, int set);
1040X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, 1039X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne,
1041 const char *field, int type, const unsigned char *bytes, int len); 1040 char *field, int type, unsigned char *bytes, int len);
1042X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, 1041X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid,
1043 int type,unsigned char *bytes, int len); 1042 int type,unsigned char *bytes, int len);
1044int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, 1043int X509_NAME_add_entry_by_txt(X509_NAME *name, char *field, int type,
1045 const unsigned char *bytes, int len, int loc, int set); 1044 unsigned char *bytes, int len, int loc, int set);
1046X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, 1045X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne,
1047 ASN1_OBJECT *obj, int type,const unsigned char *bytes, 1046 ASN1_OBJECT *obj, int type,unsigned char *bytes,
1048 int len); 1047 int len);
1049int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, 1048int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne,
1050 ASN1_OBJECT *obj); 1049 ASN1_OBJECT *obj);
1051int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, 1050int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type,
1052 const unsigned char *bytes, int len); 1051 unsigned char *bytes, int len);
1053ASN1_OBJECT * X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne); 1052ASN1_OBJECT * X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne);
1054ASN1_STRING * X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne); 1053ASN1_STRING * X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne);
1055 1054
diff --git a/src/lib/libcrypto/x509/x509_cmp.c b/src/lib/libcrypto/x509/x509_cmp.c
index 030d0966fc..f460102f49 100644
--- a/src/lib/libcrypto/x509/x509_cmp.c
+++ b/src/lib/libcrypto/x509/x509_cmp.c
@@ -254,49 +254,33 @@ static int nocase_spacenorm_cmp(const ASN1_STRING *a, const ASN1_STRING *b)
254 return 0; 254 return 0;
255} 255}
256 256
257static int asn1_string_memcmp(ASN1_STRING *a, ASN1_STRING *b)
258 {
259 int j;
260 j = a->length - b->length;
261 if (j)
262 return j;
263 return memcmp(a->data, b->data, a->length);
264 }
265
266#define STR_TYPE_CMP (B_ASN1_PRINTABLESTRING|B_ASN1_T61STRING|B_ASN1_UTF8STRING)
267
268int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) 257int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b)
269 { 258 {
270 int i,j; 259 int i,j;
271 X509_NAME_ENTRY *na,*nb; 260 X509_NAME_ENTRY *na,*nb;
272 261
273 unsigned long nabit, nbbit; 262 if (sk_X509_NAME_ENTRY_num(a->entries)
274 263 != sk_X509_NAME_ENTRY_num(b->entries))
275 j = sk_X509_NAME_ENTRY_num(a->entries) 264 return sk_X509_NAME_ENTRY_num(a->entries)
276 - sk_X509_NAME_ENTRY_num(b->entries); 265 -sk_X509_NAME_ENTRY_num(b->entries);
277 if (j)
278 return j;
279 for (i=sk_X509_NAME_ENTRY_num(a->entries)-1; i>=0; i--) 266 for (i=sk_X509_NAME_ENTRY_num(a->entries)-1; i>=0; i--)
280 { 267 {
281 na=sk_X509_NAME_ENTRY_value(a->entries,i); 268 na=sk_X509_NAME_ENTRY_value(a->entries,i);
282 nb=sk_X509_NAME_ENTRY_value(b->entries,i); 269 nb=sk_X509_NAME_ENTRY_value(b->entries,i);
283 j=na->value->type-nb->value->type; 270 j=na->value->type-nb->value->type;
284 if (j) 271 if (j) return(j);
285 { 272 if (na->value->type == V_ASN1_PRINTABLESTRING)
286 nabit = ASN1_tag2bit(na->value->type);
287 nbbit = ASN1_tag2bit(nb->value->type);
288 if (!(nabit & STR_TYPE_CMP) ||
289 !(nbbit & STR_TYPE_CMP))
290 return j;
291 j = asn1_string_memcmp(na->value, nb->value);
292 }
293 else if (na->value->type == V_ASN1_PRINTABLESTRING)
294 j=nocase_spacenorm_cmp(na->value, nb->value); 273 j=nocase_spacenorm_cmp(na->value, nb->value);
295 else if (na->value->type == V_ASN1_IA5STRING 274 else if (na->value->type == V_ASN1_IA5STRING
296 && OBJ_obj2nid(na->object) == NID_pkcs9_emailAddress) 275 && OBJ_obj2nid(na->object) == NID_pkcs9_emailAddress)
297 j=nocase_cmp(na->value, nb->value); 276 j=nocase_cmp(na->value, nb->value);
298 else 277 else
299 j = asn1_string_memcmp(na->value, nb->value); 278 {
279 j=na->value->length-nb->value->length;
280 if (j) return(j);
281 j=memcmp(na->value->data,nb->value->data,
282 na->value->length);
283 }
300 if (j) return(j); 284 if (j) return(j);
301 j=na->set-nb->set; 285 j=na->set-nb->set;
302 if (j) return(j); 286 if (j) return(j);
@@ -322,16 +306,10 @@ unsigned long X509_NAME_hash(X509_NAME *x)
322 { 306 {
323 unsigned long ret=0; 307 unsigned long ret=0;
324 unsigned char md[16]; 308 unsigned char md[16];
325 EVP_MD_CTX md_ctx;
326 309
327 /* Make sure X509_NAME structure contains valid cached encoding */ 310 /* Make sure X509_NAME structure contains valid cached encoding */
328 i2d_X509_NAME(x,NULL); 311 i2d_X509_NAME(x,NULL);
329 EVP_MD_CTX_init(&md_ctx); 312 EVP_Digest(x->bytes->data, x->bytes->length, md, NULL, EVP_md5(), NULL);
330 EVP_MD_CTX_set_flags(&md_ctx, EVP_MD_CTX_FLAG_NON_FIPS_ALLOW);
331 EVP_DigestInit_ex(&md_ctx, EVP_md5(), NULL);
332 EVP_DigestUpdate(&md_ctx, x->bytes->data, x->bytes->length);
333 EVP_DigestFinal_ex(&md_ctx,md,NULL);
334 EVP_MD_CTX_cleanup(&md_ctx);
335 313
336 ret=( ((unsigned long)md[0] )|((unsigned long)md[1]<<8L)| 314 ret=( ((unsigned long)md[0] )|((unsigned long)md[1]<<8L)|
337 ((unsigned long)md[2]<<16L)|((unsigned long)md[3]<<24L) 315 ((unsigned long)md[2]<<16L)|((unsigned long)md[3]<<24L)
diff --git a/src/lib/libcrypto/x509/x509_r2x.c b/src/lib/libcrypto/x509/x509_r2x.c
index fb8a78dabe..db051033d9 100644
--- a/src/lib/libcrypto/x509/x509_r2x.c
+++ b/src/lib/libcrypto/x509/x509_r2x.c
@@ -92,10 +92,8 @@ X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey)
92 X509_set_subject_name(ret,X509_NAME_dup(xn)); 92 X509_set_subject_name(ret,X509_NAME_dup(xn));
93 X509_set_issuer_name(ret,X509_NAME_dup(xn)); 93 X509_set_issuer_name(ret,X509_NAME_dup(xn));
94 94
95 if (X509_gmtime_adj(xi->validity->notBefore,0) == NULL) 95 X509_gmtime_adj(xi->validity->notBefore,0);
96 goto err; 96 X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days);
97 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL)
98 goto err;
99 97
100 X509_set_pubkey(ret,X509_REQ_get_pubkey(r)); 98 X509_set_pubkey(ret,X509_REQ_get_pubkey(r));
101 99
diff --git a/src/lib/libcrypto/x509/x509_req.c b/src/lib/libcrypto/x509/x509_req.c
index 59fc6ca548..0affa3bf30 100644
--- a/src/lib/libcrypto/x509/x509_req.c
+++ b/src/lib/libcrypto/x509/x509_req.c
@@ -118,7 +118,7 @@ EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req)
118 * used and there may be more: so the list is configurable. 118 * used and there may be more: so the list is configurable.
119 */ 119 */
120 120
121static int ext_nid_list[] = { NID_ext_req, NID_ms_ext_req, NID_undef}; 121static int ext_nid_list[] = { NID_ms_ext_req, NID_ext_req, NID_undef};
122 122
123static int *ext_nids = ext_nid_list; 123static int *ext_nids = ext_nid_list;
124 124
@@ -143,33 +143,32 @@ void X509_REQ_set_extension_nids(int *nids)
143} 143}
144 144
145STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) 145STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req)
146 { 146{
147 X509_ATTRIBUTE *attr; 147 X509_ATTRIBUTE *attr;
148 STACK_OF(X509_ATTRIBUTE) *sk;
148 ASN1_TYPE *ext = NULL; 149 ASN1_TYPE *ext = NULL;
149 int idx, *pnid; 150 int i;
150 unsigned char *p; 151 unsigned char *p;
151 152 if ((req == NULL) || (req->req_info == NULL))
152 if ((req == NULL) || (req->req_info == NULL) || !ext_nids)
153 return(NULL); 153 return(NULL);
154 for (pnid = ext_nids; *pnid != NID_undef; pnid++) 154 sk=req->req_info->attributes;
155 { 155 if (!sk) return NULL;
156 idx = X509_REQ_get_attr_by_NID(req, *pnid, -1); 156 for(i = 0; i < sk_X509_ATTRIBUTE_num(sk); i++) {
157 if (idx == -1) 157 attr = sk_X509_ATTRIBUTE_value(sk, i);
158 continue; 158 if(X509_REQ_extension_nid(OBJ_obj2nid(attr->object))) {
159 attr = X509_REQ_get_attr(req, idx); 159 if(attr->single) ext = attr->value.single;
160 if(attr->single) ext = attr->value.single; 160 else if(sk_ASN1_TYPE_num(attr->value.set))
161 else if(sk_ASN1_TYPE_num(attr->value.set)) 161 ext = sk_ASN1_TYPE_value(attr->value.set, 0);
162 ext = sk_ASN1_TYPE_value(attr->value.set, 0); 162 break;
163 break;
164 } 163 }
165 if(!ext || (ext->type != V_ASN1_SEQUENCE)) 164 }
166 return NULL; 165 if(!ext || (ext->type != V_ASN1_SEQUENCE)) return NULL;
167 p = ext->value.sequence->data; 166 p = ext->value.sequence->data;
168 return d2i_ASN1_SET_OF_X509_EXTENSION(NULL, &p, 167 return d2i_ASN1_SET_OF_X509_EXTENSION(NULL, &p,
169 ext->value.sequence->length, 168 ext->value.sequence->length,
170 d2i_X509_EXTENSION, X509_EXTENSION_free, 169 d2i_X509_EXTENSION, X509_EXTENSION_free,
171 V_ASN1_SEQUENCE, V_ASN1_UNIVERSAL); 170 V_ASN1_SEQUENCE, V_ASN1_UNIVERSAL);
172 } 171}
173 172
174/* Add a STACK_OF extensions to a certificate request: allow alternative OIDs 173/* Add a STACK_OF extensions to a certificate request: allow alternative OIDs
175 * in case we want to create a non standard one. 174 * in case we want to create a non standard one.
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c
index f19e66a238..e31ebc6741 100644
--- a/src/lib/libcrypto/x509/x509_txt.c
+++ b/src/lib/libcrypto/x509/x509_txt.c
@@ -122,14 +122,8 @@ const char *X509_verify_cert_error_string(long n)
122 return("certificate revoked"); 122 return("certificate revoked");
123 case X509_V_ERR_INVALID_CA: 123 case X509_V_ERR_INVALID_CA:
124 return ("invalid CA certificate"); 124 return ("invalid CA certificate");
125 case X509_V_ERR_INVALID_NON_CA:
126 return ("invalid non-CA certificate (has CA markings)");
127 case X509_V_ERR_PATH_LENGTH_EXCEEDED: 125 case X509_V_ERR_PATH_LENGTH_EXCEEDED:
128 return ("path length constraint exceeded"); 126 return ("path length constraint exceeded");
129 case X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED:
130 return("proxy path length constraint exceeded");
131 case X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED:
132 return("proxy cerificates not allowed, please set the appropriate flag");
133 case X509_V_ERR_INVALID_PURPOSE: 127 case X509_V_ERR_INVALID_PURPOSE:
134 return ("unsupported certificate purpose"); 128 return ("unsupported certificate purpose");
135 case X509_V_ERR_CERT_UNTRUSTED: 129 case X509_V_ERR_CERT_UNTRUSTED:
@@ -146,16 +140,19 @@ const char *X509_verify_cert_error_string(long n)
146 return("authority and issuer serial number mismatch"); 140 return("authority and issuer serial number mismatch");
147 case X509_V_ERR_KEYUSAGE_NO_CERTSIGN: 141 case X509_V_ERR_KEYUSAGE_NO_CERTSIGN:
148 return("key usage does not include certificate signing"); 142 return("key usage does not include certificate signing");
143
149 case X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER: 144 case X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER:
150 return("unable to get CRL issuer certificate"); 145 return("unable to get CRL issuer certificate");
146
151 case X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION: 147 case X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION:
152 return("unhandled critical extension"); 148 return("unhandled critical extension");
149
153 case X509_V_ERR_KEYUSAGE_NO_CRL_SIGN: 150 case X509_V_ERR_KEYUSAGE_NO_CRL_SIGN:
154 return("key usage does not include CRL signing"); 151 return("key usage does not include CRL signing");
155 case X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE: 152
156 return("key usage does not include digital signature");
157 case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION: 153 case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION:
158 return("unhandled critical CRL extension"); 154 return("unhandled critical CRL extension");
155
159 default: 156 default:
160 BIO_snprintf(buf,sizeof buf,"error number %ld",n); 157 BIO_snprintf(buf,sizeof buf,"error number %ld",n);
161 return(buf); 158 return(buf);
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c
index e43c861ee7..2e4d0b823a 100644
--- a/src/lib/libcrypto/x509/x509_vfy.c
+++ b/src/lib/libcrypto/x509/x509_vfy.c
@@ -73,7 +73,7 @@
73static int null_callback(int ok,X509_STORE_CTX *e); 73static int null_callback(int ok,X509_STORE_CTX *e);
74static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); 74static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
75static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x); 75static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x);
76static int check_chain_extensions(X509_STORE_CTX *ctx); 76static int check_chain_purpose(X509_STORE_CTX *ctx);
77static int check_trust(X509_STORE_CTX *ctx); 77static int check_trust(X509_STORE_CTX *ctx);
78static int check_revocation(X509_STORE_CTX *ctx); 78static int check_revocation(X509_STORE_CTX *ctx);
79static int check_cert(X509_STORE_CTX *ctx); 79static int check_cert(X509_STORE_CTX *ctx);
@@ -281,7 +281,7 @@ int X509_verify_cert(X509_STORE_CTX *ctx)
281 } 281 }
282 282
283 /* We have the chain complete: now we need to check its purpose */ 283 /* We have the chain complete: now we need to check its purpose */
284 ok = check_chain_extensions(ctx); 284 if (ctx->purpose > 0) ok = check_chain_purpose(ctx);
285 285
286 if (!ok) goto end; 286 if (!ok) goto end;
287 287
@@ -365,39 +365,21 @@ static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
365 else 365 else
366 return 0; 366 return 0;
367} 367}
368 368
369 369
370/* Check a certificate chains extensions for consistency 370/* Check a certificate chains extensions for consistency
371 * with the supplied purpose 371 * with the supplied purpose
372 */ 372 */
373 373
374static int check_chain_extensions(X509_STORE_CTX *ctx) 374static int check_chain_purpose(X509_STORE_CTX *ctx)
375{ 375{
376#ifdef OPENSSL_NO_CHAIN_VERIFY 376#ifdef OPENSSL_NO_CHAIN_VERIFY
377 return 1; 377 return 1;
378#else 378#else
379 int i, ok=0, must_be_ca; 379 int i, ok=0;
380 X509 *x; 380 X509 *x;
381 int (*cb)(); 381 int (*cb)();
382 int proxy_path_length = 0;
383 int allow_proxy_certs = !!(ctx->flags & X509_V_FLAG_ALLOW_PROXY_CERTS);
384 cb=ctx->verify_cb; 382 cb=ctx->verify_cb;
385
386 /* must_be_ca can have 1 of 3 values:
387 -1: we accept both CA and non-CA certificates, to allow direct
388 use of self-signed certificates (which are marked as CA).
389 0: we only accept non-CA certificates. This is currently not
390 used, but the possibility is present for future extensions.
391 1: we only accept CA certificates. This is currently used for
392 all certificates in the chain except the leaf certificate.
393 */
394 must_be_ca = -1;
395
396 /* A hack to keep people who don't want to modify their software
397 happy */
398 if (getenv("OPENSSL_ALLOW_PROXY_CERTS"))
399 allow_proxy_certs = 1;
400
401 /* Check all untrusted certificates */ 383 /* Check all untrusted certificates */
402 for (i = 0; i < ctx->last_untrusted; i++) 384 for (i = 0; i < ctx->last_untrusted; i++)
403 { 385 {
@@ -412,73 +394,23 @@ static int check_chain_extensions(X509_STORE_CTX *ctx)
412 ok=cb(0,ctx); 394 ok=cb(0,ctx);
413 if (!ok) goto end; 395 if (!ok) goto end;
414 } 396 }
415 if (!allow_proxy_certs && (x->ex_flags & EXFLAG_PROXY)) 397 ret = X509_check_purpose(x, ctx->purpose, i);
398 if ((ret == 0)
399 || ((ctx->flags & X509_V_FLAG_X509_STRICT)
400 && (ret != 1)))
416 { 401 {
417 ctx->error = X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED; 402 if (i)
418 ctx->error_depth = i;
419 ctx->current_cert = x;
420 ok=cb(0,ctx);
421 if (!ok) goto end;
422 }
423 ret = X509_check_ca(x);
424 switch(must_be_ca)
425 {
426 case -1:
427 if ((ctx->flags & X509_V_FLAG_X509_STRICT)
428 && (ret != 1) && (ret != 0))
429 {
430 ret = 0;
431 ctx->error = X509_V_ERR_INVALID_CA; 403 ctx->error = X509_V_ERR_INVALID_CA;
432 }
433 else
434 ret = 1;
435 break;
436 case 0:
437 if (ret != 0)
438 {
439 ret = 0;
440 ctx->error = X509_V_ERR_INVALID_NON_CA;
441 }
442 else 404 else
443 ret = 1; 405 ctx->error = X509_V_ERR_INVALID_PURPOSE;
444 break;
445 default:
446 if ((ret == 0)
447 || ((ctx->flags & X509_V_FLAG_X509_STRICT)
448 && (ret != 1)))
449 {
450 ret = 0;
451 ctx->error = X509_V_ERR_INVALID_CA;
452 }
453 else
454 ret = 1;
455 break;
456 }
457 if (ret == 0)
458 {
459 ctx->error_depth = i; 406 ctx->error_depth = i;
460 ctx->current_cert = x; 407 ctx->current_cert = x;
461 ok=cb(0,ctx); 408 ok=cb(0,ctx);
462 if (!ok) goto end; 409 if (!ok) goto end;
463 } 410 }
464 if (ctx->purpose > 0)
465 {
466 ret = X509_check_purpose(x, ctx->purpose,
467 must_be_ca > 0);
468 if ((ret == 0)
469 || ((ctx->flags & X509_V_FLAG_X509_STRICT)
470 && (ret != 1)))
471 {
472 ctx->error = X509_V_ERR_INVALID_PURPOSE;
473 ctx->error_depth = i;
474 ctx->current_cert = x;
475 ok=cb(0,ctx);
476 if (!ok) goto end;
477 }
478 }
479 /* Check pathlen */ 411 /* Check pathlen */
480 if ((i > 1) && (x->ex_pathlen != -1) 412 if ((i > 1) && (x->ex_pathlen != -1)
481 && (i > (x->ex_pathlen + proxy_path_length + 1))) 413 && (i > (x->ex_pathlen + 1)))
482 { 414 {
483 ctx->error = X509_V_ERR_PATH_LENGTH_EXCEEDED; 415 ctx->error = X509_V_ERR_PATH_LENGTH_EXCEEDED;
484 ctx->error_depth = i; 416 ctx->error_depth = i;
@@ -486,32 +418,6 @@ static int check_chain_extensions(X509_STORE_CTX *ctx)
486 ok=cb(0,ctx); 418 ok=cb(0,ctx);
487 if (!ok) goto end; 419 if (!ok) goto end;
488 } 420 }
489 /* If this certificate is a proxy certificate, the next
490 certificate must be another proxy certificate or a EE
491 certificate. If not, the next certificate must be a
492 CA certificate. */
493 if (x->ex_flags & EXFLAG_PROXY)
494 {
495 PROXY_CERT_INFO_EXTENSION *pci =
496 X509_get_ext_d2i(x, NID_proxyCertInfo,
497 NULL, NULL);
498 if (pci->pcPathLengthConstraint &&
499 ASN1_INTEGER_get(pci->pcPathLengthConstraint)
500 < i)
501 {
502 PROXY_CERT_INFO_EXTENSION_free(pci);
503 ctx->error = X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED;
504 ctx->error_depth = i;
505 ctx->current_cert = x;
506 ok=cb(0,ctx);
507 if (!ok) goto end;
508 }
509 PROXY_CERT_INFO_EXTENSION_free(pci);
510 proxy_path_length++;
511 must_be_ca = 0;
512 }
513 else
514 must_be_ca = 1;
515 } 421 }
516 ok = 1; 422 ok = 1;
517 end: 423 end:
@@ -721,15 +627,6 @@ static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x)
721 X509_EXTENSION *ext; 627 X509_EXTENSION *ext;
722 /* Look for serial number of certificate in CRL */ 628 /* Look for serial number of certificate in CRL */
723 rtmp.serialNumber = X509_get_serialNumber(x); 629 rtmp.serialNumber = X509_get_serialNumber(x);
724 /* Sort revoked into serial number order if not already sorted.
725 * Do this under a lock to avoid race condition.
726 */
727 if (!sk_X509_REVOKED_is_sorted(crl->crl->revoked))
728 {
729 CRYPTO_w_lock(CRYPTO_LOCK_X509_CRL);
730 sk_X509_REVOKED_sort(crl->crl->revoked);
731 CRYPTO_w_unlock(CRYPTO_LOCK_X509_CRL);
732 }
733 idx = sk_X509_REVOKED_find(crl->crl->revoked, &rtmp); 630 idx = sk_X509_REVOKED_find(crl->crl->revoked, &rtmp);
734 /* If found assume revoked: want something cleverer than 631 /* If found assume revoked: want something cleverer than
735 * this to handle entry extensions in V2 CRLs. 632 * this to handle entry extensions in V2 CRLs.
@@ -875,7 +772,6 @@ static int internal_verify(X509_STORE_CTX *ctx)
875 } 772 }
876 773
877 /* The last error (if any) is still in the error value */ 774 /* The last error (if any) is still in the error value */
878 ctx->current_issuer=xi;
879 ctx->current_cert=xs; 775 ctx->current_cert=xs;
880 ok=(*cb)(1,ctx); 776 ok=(*cb)(1,ctx);
881 if (!ok) goto end; 777 if (!ok) goto end;
@@ -955,8 +851,7 @@ int X509_cmp_time(ASN1_TIME *ctm, time_t *cmp_time)
955 atm.length=sizeof(buff2); 851 atm.length=sizeof(buff2);
956 atm.data=(unsigned char *)buff2; 852 atm.data=(unsigned char *)buff2;
957 853
958 if (X509_time_adj(&atm,-offset*60, cmp_time) == NULL) 854 X509_time_adj(&atm,-offset*60, cmp_time);
959 return 0;
960 855
961 if (ctm->type == V_ASN1_UTCTIME) 856 if (ctm->type == V_ASN1_UTCTIME)
962 { 857 {
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index 7fd1f0bc4d..198495884c 100644
--- a/src/lib/libcrypto/x509/x509_vfy.h
+++ b/src/lib/libcrypto/x509/x509_vfy.h
@@ -276,7 +276,7 @@ struct x509_store_ctx_st /* X509_STORE_CTX */
276#define X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY 6 276#define X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY 6
277#define X509_V_ERR_CERT_SIGNATURE_FAILURE 7 277#define X509_V_ERR_CERT_SIGNATURE_FAILURE 7
278#define X509_V_ERR_CRL_SIGNATURE_FAILURE 8 278#define X509_V_ERR_CRL_SIGNATURE_FAILURE 8
279#define X509_V_ERR_CERT_NOT_YET_VALID 9 279#define X509_V_ERR_CERT_NOT_YET_VALID 9
280#define X509_V_ERR_CERT_HAS_EXPIRED 10 280#define X509_V_ERR_CERT_HAS_EXPIRED 10
281#define X509_V_ERR_CRL_NOT_YET_VALID 11 281#define X509_V_ERR_CRL_NOT_YET_VALID 11
282#define X509_V_ERR_CRL_HAS_EXPIRED 12 282#define X509_V_ERR_CRL_HAS_EXPIRED 12
@@ -306,10 +306,6 @@ struct x509_store_ctx_st /* X509_STORE_CTX */
306#define X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION 34 306#define X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION 34
307#define X509_V_ERR_KEYUSAGE_NO_CRL_SIGN 35 307#define X509_V_ERR_KEYUSAGE_NO_CRL_SIGN 35
308#define X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION 36 308#define X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION 36
309#define X509_V_ERR_INVALID_NON_CA 37
310#define X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED 38
311#define X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE 39
312#define X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED 40
313 309
314/* The application is not happy */ 310/* The application is not happy */
315#define X509_V_ERR_APPLICATION_VERIFICATION 50 311#define X509_V_ERR_APPLICATION_VERIFICATION 50
@@ -328,8 +324,6 @@ struct x509_store_ctx_st /* X509_STORE_CTX */
328#define X509_V_FLAG_IGNORE_CRITICAL 0x10 324#define X509_V_FLAG_IGNORE_CRITICAL 0x10
329/* Disable workarounds for broken certificates */ 325/* Disable workarounds for broken certificates */
330#define X509_V_FLAG_X509_STRICT 0x20 326#define X509_V_FLAG_X509_STRICT 0x20
331/* Enable proxy certificate validation */
332#define X509_V_FLAG_ALLOW_PROXY_CERTS 0x40
333 327
334int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, int type, 328int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, int type,
335 X509_NAME *name); 329 X509_NAME *name);
diff --git a/src/lib/libcrypto/x509/x509cset.c b/src/lib/libcrypto/x509/x509cset.c
index 9d1646d5c8..6cac440ea9 100644
--- a/src/lib/libcrypto/x509/x509cset.c
+++ b/src/lib/libcrypto/x509/x509cset.c
@@ -129,7 +129,6 @@ int X509_CRL_sort(X509_CRL *c)
129 r=sk_X509_REVOKED_value(c->crl->revoked,i); 129 r=sk_X509_REVOKED_value(c->crl->revoked,i);
130 r->sequence=i; 130 r->sequence=i;
131 } 131 }
132 c->crl->enc.modified = 1;
133 return 1; 132 return 1;
134 } 133 }
135 134
diff --git a/src/lib/libcrypto/x509/x509name.c b/src/lib/libcrypto/x509/x509name.c
index 068abfe5f0..4c20e03ece 100644
--- a/src/lib/libcrypto/x509/x509name.c
+++ b/src/lib/libcrypto/x509/x509name.c
@@ -195,8 +195,8 @@ int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,
195 return ret; 195 return ret;
196} 196}
197 197
198int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, 198int X509_NAME_add_entry_by_txt(X509_NAME *name, char *field, int type,
199 const unsigned char *bytes, int len, int loc, int set) 199 unsigned char *bytes, int len, int loc, int set)
200{ 200{
201 X509_NAME_ENTRY *ne; 201 X509_NAME_ENTRY *ne;
202 int ret; 202 int ret;
@@ -273,7 +273,7 @@ err:
273 } 273 }
274 274
275X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, 275X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne,
276 const char *field, int type, const unsigned char *bytes, int len) 276 char *field, int type, unsigned char *bytes, int len)
277 { 277 {
278 ASN1_OBJECT *obj; 278 ASN1_OBJECT *obj;
279 X509_NAME_ENTRY *nentry; 279 X509_NAME_ENTRY *nentry;
@@ -309,7 +309,7 @@ X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid,
309 } 309 }
310 310
311X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, 311X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne,
312 ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) 312 ASN1_OBJECT *obj, int type, unsigned char *bytes, int len)
313 { 313 {
314 X509_NAME_ENTRY *ret; 314 X509_NAME_ENTRY *ret;
315 315
@@ -347,7 +347,7 @@ int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, ASN1_OBJECT *obj)
347 } 347 }
348 348
349int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, 349int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type,
350 const unsigned char *bytes, int len) 350 unsigned char *bytes, int len)
351 { 351 {
352 int i; 352 int i;
353 353
diff --git a/src/lib/libcrypto/x509/x_all.c b/src/lib/libcrypto/x509/x_all.c
index ac6dea493a..fb5015cd4d 100644
--- a/src/lib/libcrypto/x509/x_all.c
+++ b/src/lib/libcrypto/x509/x_all.c
@@ -103,7 +103,6 @@ int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md)
103 103
104int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) 104int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md)
105 { 105 {
106 x->crl->enc.modified = 1;
107 return(ASN1_item_sign(ASN1_ITEM_rptr(X509_CRL_INFO),x->crl->sig_alg, 106 return(ASN1_item_sign(ASN1_ITEM_rptr(X509_CRL_INFO),x->crl->sig_alg,
108 x->sig_alg, x->signature, x->crl,pkey,md)); 107 x->sig_alg, x->signature, x->crl,pkey,md));
109 } 108 }