summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ocsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ocsp')
-rw-r--r--src/lib/libcrypto/ocsp/Makefile291
-rw-r--r--src/lib/libcrypto/ocsp/Makefile.ssl293
-rw-r--r--src/lib/libcrypto/ocsp/ocsp_err.c104
3 files changed, 634 insertions, 54 deletions
diff --git a/src/lib/libcrypto/ocsp/Makefile b/src/lib/libcrypto/ocsp/Makefile
new file mode 100644
index 0000000000..59f7098d9e
--- /dev/null
+++ b/src/lib/libcrypto/ocsp/Makefile
@@ -0,0 +1,291 @@
1#
2# OpenSSL/ocsp/Makefile
3#
4
5DIR= ocsp
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= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
26 ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c
27
28LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \
29 ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o
30
31SRC= $(LIBSRC)
32
33EXHEADER= ocsp.h
34HEADER= $(EXHEADER)
35
36ALL= $(GENERAL) $(SRC) $(HEADER)
37
38top:
39 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
40
41all: lib
42
43lib: $(LIBOBJ)
44 $(AR) $(LIB) $(LIBOBJ)
45 $(RANLIB) $(LIB) || echo Never mind.
46 @touch lib
47
48files:
49 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
50
51links:
52 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
55
56install:
57 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
58 do \
59 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61 done;
62
63tags:
64 ctags $(SRC)
65
66tests:
67
68lint:
69 lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71depend:
72 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
73
74dclean:
75 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76 mv -f Makefile.new $(MAKEFILE)
77
78clean:
79 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81# DO NOT DELETE THIS LINE -- make depend depends on it.
82
83ocsp_asn.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
84ocsp_asn.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
85ocsp_asn.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
86ocsp_asn.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
87ocsp_asn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
88ocsp_asn.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
89ocsp_asn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
90ocsp_asn.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h
91ocsp_asn.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
92ocsp_asn.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
93ocsp_asn.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
94ocsp_asn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
95ocsp_asn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
96ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97ocsp_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
98ocsp_asn.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
99ocsp_asn.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
100ocsp_asn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
101ocsp_asn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
102ocsp_asn.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
103ocsp_asn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
104ocsp_asn.o: ../../include/openssl/x509v3.h ocsp_asn.c
105ocsp_cl.o: ../../e_os.h ../../include/openssl/aes.h
106ocsp_cl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
107ocsp_cl.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
108ocsp_cl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
109ocsp_cl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
110ocsp_cl.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
111ocsp_cl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
112ocsp_cl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
113ocsp_cl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
114ocsp_cl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
115ocsp_cl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
116ocsp_cl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
117ocsp_cl.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
118ocsp_cl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
119ocsp_cl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
120ocsp_cl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
121ocsp_cl.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
122ocsp_cl.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
123ocsp_cl.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
124ocsp_cl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
125ocsp_cl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
126ocsp_cl.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
127ocsp_cl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
128ocsp_cl.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_cl.c
129ocsp_err.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
130ocsp_err.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
131ocsp_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
132ocsp_err.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
133ocsp_err.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
134ocsp_err.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
135ocsp_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
136ocsp_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
137ocsp_err.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
138ocsp_err.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
139ocsp_err.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
140ocsp_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
141ocsp_err.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
142ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
143ocsp_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
144ocsp_err.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
145ocsp_err.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
146ocsp_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
147ocsp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
148ocsp_err.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
149ocsp_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
150ocsp_err.o: ../../include/openssl/x509v3.h ocsp_err.c
151ocsp_ext.o: ../../e_os.h ../../include/openssl/aes.h
152ocsp_ext.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
153ocsp_ext.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
154ocsp_ext.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
155ocsp_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
156ocsp_ext.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
157ocsp_ext.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
158ocsp_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
159ocsp_ext.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
160ocsp_ext.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
161ocsp_ext.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
162ocsp_ext.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
163ocsp_ext.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
164ocsp_ext.o: ../../include/openssl/opensslconf.h
165ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
166ocsp_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
167ocsp_ext.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
168ocsp_ext.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
169ocsp_ext.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
170ocsp_ext.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
171ocsp_ext.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
172ocsp_ext.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
173ocsp_ext.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
174ocsp_ext.o: ../cryptlib.h ocsp_ext.c
175ocsp_ht.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
176ocsp_ht.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
177ocsp_ht.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
178ocsp_ht.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
179ocsp_ht.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
180ocsp_ht.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
181ocsp_ht.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
182ocsp_ht.o: ../../include/openssl/err.h ../../include/openssl/evp.h
183ocsp_ht.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
184ocsp_ht.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
185ocsp_ht.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
186ocsp_ht.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
187ocsp_ht.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
188ocsp_ht.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
189ocsp_ht.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
190ocsp_ht.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
191ocsp_ht.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
192ocsp_ht.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
193ocsp_ht.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
194ocsp_ht.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
195ocsp_ht.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
196ocsp_ht.o: ../../include/openssl/x509v3.h ocsp_ht.c
197ocsp_lib.o: ../../e_os.h ../../include/openssl/aes.h
198ocsp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
199ocsp_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
200ocsp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
201ocsp_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
202ocsp_lib.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
203ocsp_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
204ocsp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
205ocsp_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
206ocsp_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
207ocsp_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
208ocsp_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
209ocsp_lib.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
210ocsp_lib.o: ../../include/openssl/opensslconf.h
211ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
212ocsp_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
213ocsp_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
214ocsp_lib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
215ocsp_lib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
216ocsp_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
217ocsp_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
218ocsp_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
219ocsp_lib.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
220ocsp_lib.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
221ocsp_lib.o: ../cryptlib.h ocsp_lib.c
222ocsp_prn.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
223ocsp_prn.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
224ocsp_prn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
225ocsp_prn.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
226ocsp_prn.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
227ocsp_prn.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
228ocsp_prn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
229ocsp_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
230ocsp_prn.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
231ocsp_prn.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
232ocsp_prn.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
233ocsp_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
234ocsp_prn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
235ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
236ocsp_prn.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
237ocsp_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
238ocsp_prn.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
239ocsp_prn.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
240ocsp_prn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
241ocsp_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
242ocsp_prn.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
243ocsp_prn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
244ocsp_prn.o: ../../include/openssl/x509v3.h ocsp_prn.c
245ocsp_srv.o: ../../e_os.h ../../include/openssl/aes.h
246ocsp_srv.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
247ocsp_srv.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
248ocsp_srv.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
249ocsp_srv.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
250ocsp_srv.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
251ocsp_srv.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
252ocsp_srv.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
253ocsp_srv.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
254ocsp_srv.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
255ocsp_srv.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
256ocsp_srv.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
257ocsp_srv.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
258ocsp_srv.o: ../../include/openssl/opensslconf.h
259ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
260ocsp_srv.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
261ocsp_srv.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
262ocsp_srv.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
263ocsp_srv.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
264ocsp_srv.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
265ocsp_srv.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
266ocsp_srv.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
267ocsp_srv.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
268ocsp_srv.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
269ocsp_srv.o: ../cryptlib.h ocsp_srv.c
270ocsp_vfy.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
271ocsp_vfy.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
272ocsp_vfy.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
273ocsp_vfy.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
274ocsp_vfy.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
275ocsp_vfy.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
276ocsp_vfy.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
277ocsp_vfy.o: ../../include/openssl/err.h ../../include/openssl/evp.h
278ocsp_vfy.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
279ocsp_vfy.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
280ocsp_vfy.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
281ocsp_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
282ocsp_vfy.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
283ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
284ocsp_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
285ocsp_vfy.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
286ocsp_vfy.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
287ocsp_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
288ocsp_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
289ocsp_vfy.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
290ocsp_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
291ocsp_vfy.o: ../../include/openssl/x509v3.h ocsp_vfy.c
diff --git a/src/lib/libcrypto/ocsp/Makefile.ssl b/src/lib/libcrypto/ocsp/Makefile.ssl
new file mode 100644
index 0000000000..02477be538
--- /dev/null
+++ b/src/lib/libcrypto/ocsp/Makefile.ssl
@@ -0,0 +1,293 @@
1#
2# OpenSSL/ocsp/Makefile.ssl
3#
4
5DIR= ocsp
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= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
27 ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c
28
29LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \
30 ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o
31
32SRC= $(LIBSRC)
33
34EXHEADER= ocsp.h
35HEADER= $(EXHEADER)
36
37ALL= $(GENERAL) $(SRC) $(HEADER)
38
39top:
40 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42all: lib
43
44lib: $(LIBOBJ)
45 $(AR) $(LIB) $(LIBOBJ)
46 $(RANLIB) $(LIB) || echo Never mind.
47 @touch lib
48
49files:
50 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51
52links:
53 @sh $(TOP)/util/point.sh Makefile.ssl Makefile ;
54 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57
58install:
59 @for i in $(EXHEADER) ; \
60 do \
61 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
62 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
63 done;
64
65tags:
66 ctags $(SRC)
67
68tests:
69
70lint:
71 lint -DLINT $(INCLUDES) $(SRC)>fluff
72
73depend:
74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75
76dclean:
77 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
78 mv -f Makefile.new $(MAKEFILE)
79
80clean:
81 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
82
83# DO NOT DELETE THIS LINE -- make depend depends on it.
84
85ocsp_asn.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
86ocsp_asn.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
87ocsp_asn.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
88ocsp_asn.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
89ocsp_asn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
90ocsp_asn.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
91ocsp_asn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
92ocsp_asn.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h
93ocsp_asn.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
94ocsp_asn.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
95ocsp_asn.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
96ocsp_asn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
97ocsp_asn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
98ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
99ocsp_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
100ocsp_asn.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
101ocsp_asn.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
102ocsp_asn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
103ocsp_asn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104ocsp_asn.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
105ocsp_asn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
106ocsp_asn.o: ../../include/openssl/x509v3.h ocsp_asn.c
107ocsp_cl.o: ../../e_os.h ../../include/openssl/aes.h
108ocsp_cl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
109ocsp_cl.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
110ocsp_cl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
111ocsp_cl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
112ocsp_cl.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
113ocsp_cl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
114ocsp_cl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
115ocsp_cl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
116ocsp_cl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
117ocsp_cl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
118ocsp_cl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
119ocsp_cl.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
120ocsp_cl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
121ocsp_cl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
122ocsp_cl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
123ocsp_cl.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
124ocsp_cl.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
125ocsp_cl.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
126ocsp_cl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
127ocsp_cl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
128ocsp_cl.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
129ocsp_cl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
130ocsp_cl.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_cl.c
131ocsp_err.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
132ocsp_err.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
133ocsp_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
134ocsp_err.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
135ocsp_err.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
136ocsp_err.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
137ocsp_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
138ocsp_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
139ocsp_err.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
140ocsp_err.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
141ocsp_err.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
142ocsp_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
143ocsp_err.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
144ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
145ocsp_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
146ocsp_err.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
147ocsp_err.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
148ocsp_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
149ocsp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
150ocsp_err.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
151ocsp_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
152ocsp_err.o: ../../include/openssl/x509v3.h ocsp_err.c
153ocsp_ext.o: ../../e_os.h ../../include/openssl/aes.h
154ocsp_ext.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
155ocsp_ext.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
156ocsp_ext.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
157ocsp_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
158ocsp_ext.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
159ocsp_ext.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
160ocsp_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
161ocsp_ext.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
162ocsp_ext.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
163ocsp_ext.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
164ocsp_ext.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
165ocsp_ext.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
166ocsp_ext.o: ../../include/openssl/opensslconf.h
167ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
168ocsp_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
169ocsp_ext.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
170ocsp_ext.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
171ocsp_ext.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
172ocsp_ext.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
173ocsp_ext.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
174ocsp_ext.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
175ocsp_ext.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
176ocsp_ext.o: ../cryptlib.h ocsp_ext.c
177ocsp_ht.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
178ocsp_ht.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
179ocsp_ht.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
180ocsp_ht.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
181ocsp_ht.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
182ocsp_ht.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
183ocsp_ht.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
184ocsp_ht.o: ../../include/openssl/err.h ../../include/openssl/evp.h
185ocsp_ht.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
186ocsp_ht.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
187ocsp_ht.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
188ocsp_ht.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
189ocsp_ht.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
190ocsp_ht.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
191ocsp_ht.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
192ocsp_ht.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
193ocsp_ht.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
194ocsp_ht.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
195ocsp_ht.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
196ocsp_ht.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
197ocsp_ht.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
198ocsp_ht.o: ../../include/openssl/x509v3.h ocsp_ht.c
199ocsp_lib.o: ../../e_os.h ../../include/openssl/aes.h
200ocsp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
201ocsp_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
202ocsp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
203ocsp_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
204ocsp_lib.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
205ocsp_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
206ocsp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
207ocsp_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
208ocsp_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
209ocsp_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
210ocsp_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
211ocsp_lib.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
212ocsp_lib.o: ../../include/openssl/opensslconf.h
213ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
214ocsp_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
215ocsp_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
216ocsp_lib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
217ocsp_lib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
218ocsp_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
219ocsp_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
220ocsp_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
221ocsp_lib.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
222ocsp_lib.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
223ocsp_lib.o: ../cryptlib.h ocsp_lib.c
224ocsp_prn.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
225ocsp_prn.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
226ocsp_prn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
227ocsp_prn.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
228ocsp_prn.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
229ocsp_prn.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
230ocsp_prn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
231ocsp_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
232ocsp_prn.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
233ocsp_prn.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
234ocsp_prn.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
235ocsp_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
236ocsp_prn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
237ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
238ocsp_prn.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
239ocsp_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
240ocsp_prn.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
241ocsp_prn.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
242ocsp_prn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
243ocsp_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
244ocsp_prn.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
245ocsp_prn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
246ocsp_prn.o: ../../include/openssl/x509v3.h ocsp_prn.c
247ocsp_srv.o: ../../e_os.h ../../include/openssl/aes.h
248ocsp_srv.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
249ocsp_srv.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
250ocsp_srv.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
251ocsp_srv.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
252ocsp_srv.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
253ocsp_srv.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
254ocsp_srv.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
255ocsp_srv.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
256ocsp_srv.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
257ocsp_srv.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
258ocsp_srv.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
259ocsp_srv.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
260ocsp_srv.o: ../../include/openssl/opensslconf.h
261ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
262ocsp_srv.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
263ocsp_srv.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
264ocsp_srv.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
265ocsp_srv.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
266ocsp_srv.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
267ocsp_srv.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
268ocsp_srv.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
269ocsp_srv.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
270ocsp_srv.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
271ocsp_srv.o: ../cryptlib.h ocsp_srv.c
272ocsp_vfy.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
273ocsp_vfy.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
274ocsp_vfy.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
275ocsp_vfy.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
276ocsp_vfy.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
277ocsp_vfy.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
278ocsp_vfy.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
279ocsp_vfy.o: ../../include/openssl/err.h ../../include/openssl/evp.h
280ocsp_vfy.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
281ocsp_vfy.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
282ocsp_vfy.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
283ocsp_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
284ocsp_vfy.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
285ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
286ocsp_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
287ocsp_vfy.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
288ocsp_vfy.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
289ocsp_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
290ocsp_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
291ocsp_vfy.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
292ocsp_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
293ocsp_vfy.o: ../../include/openssl/x509v3.h ocsp_vfy.c
diff --git a/src/lib/libcrypto/ocsp/ocsp_err.c b/src/lib/libcrypto/ocsp/ocsp_err.c
index 65e6093fbc..4c4d8306f8 100644
--- a/src/lib/libcrypto/ocsp/ocsp_err.c
+++ b/src/lib/libcrypto/ocsp/ocsp_err.c
@@ -1,6 +1,6 @@
1/* crypto/ocsp/ocsp_err.c */ 1/* crypto/ocsp/ocsp_err.c */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
@@ -64,64 +64,60 @@
64 64
65/* BEGIN ERROR CODES */ 65/* BEGIN ERROR CODES */
66#ifndef OPENSSL_NO_ERR 66#ifndef OPENSSL_NO_ERR
67
68#define ERR_FUNC(func) ERR_PACK(ERR_LIB_OCSP,func,0)
69#define ERR_REASON(reason) ERR_PACK(ERR_LIB_OCSP,0,reason)
70
71static ERR_STRING_DATA OCSP_str_functs[]= 67static ERR_STRING_DATA OCSP_str_functs[]=
72 { 68 {
73{ERR_FUNC(OCSP_F_ASN1_STRING_ENCODE), "ASN1_STRING_encode"}, 69{ERR_PACK(0,OCSP_F_ASN1_STRING_ENCODE,0), "ASN1_STRING_encode"},
74{ERR_FUNC(OCSP_F_CERT_ID_NEW), "CERT_ID_NEW"}, 70{ERR_PACK(0,OCSP_F_CERT_ID_NEW,0), "CERT_ID_NEW"},
75{ERR_FUNC(OCSP_F_D2I_OCSP_NONCE), "D2I_OCSP_NONCE"}, 71{ERR_PACK(0,OCSP_F_D2I_OCSP_NONCE,0), "D2I_OCSP_NONCE"},
76{ERR_FUNC(OCSP_F_OCSP_BASIC_ADD1_STATUS), "OCSP_basic_add1_status"}, 72{ERR_PACK(0,OCSP_F_OCSP_BASIC_ADD1_STATUS,0), "OCSP_basic_add1_status"},
77{ERR_FUNC(OCSP_F_OCSP_BASIC_SIGN), "OCSP_basic_sign"}, 73{ERR_PACK(0,OCSP_F_OCSP_BASIC_SIGN,0), "OCSP_basic_sign"},
78{ERR_FUNC(OCSP_F_OCSP_BASIC_VERIFY), "OCSP_basic_verify"}, 74{ERR_PACK(0,OCSP_F_OCSP_BASIC_VERIFY,0), "OCSP_basic_verify"},
79{ERR_FUNC(OCSP_F_OCSP_CHECK_DELEGATED), "OCSP_CHECK_DELEGATED"}, 75{ERR_PACK(0,OCSP_F_OCSP_CHECK_DELEGATED,0), "OCSP_CHECK_DELEGATED"},
80{ERR_FUNC(OCSP_F_OCSP_CHECK_IDS), "OCSP_CHECK_IDS"}, 76{ERR_PACK(0,OCSP_F_OCSP_CHECK_IDS,0), "OCSP_CHECK_IDS"},
81{ERR_FUNC(OCSP_F_OCSP_CHECK_ISSUER), "OCSP_CHECK_ISSUER"}, 77{ERR_PACK(0,OCSP_F_OCSP_CHECK_ISSUER,0), "OCSP_CHECK_ISSUER"},
82{ERR_FUNC(OCSP_F_OCSP_CHECK_VALIDITY), "OCSP_check_validity"}, 78{ERR_PACK(0,OCSP_F_OCSP_CHECK_VALIDITY,0), "OCSP_check_validity"},
83{ERR_FUNC(OCSP_F_OCSP_MATCH_ISSUERID), "OCSP_MATCH_ISSUERID"}, 79{ERR_PACK(0,OCSP_F_OCSP_MATCH_ISSUERID,0), "OCSP_MATCH_ISSUERID"},
84{ERR_FUNC(OCSP_F_OCSP_PARSE_URL), "OCSP_parse_url"}, 80{ERR_PACK(0,OCSP_F_OCSP_PARSE_URL,0), "OCSP_parse_url"},
85{ERR_FUNC(OCSP_F_OCSP_REQUEST_SIGN), "OCSP_request_sign"}, 81{ERR_PACK(0,OCSP_F_OCSP_REQUEST_SIGN,0), "OCSP_request_sign"},
86{ERR_FUNC(OCSP_F_OCSP_REQUEST_VERIFY), "OCSP_request_verify"}, 82{ERR_PACK(0,OCSP_F_OCSP_REQUEST_VERIFY,0), "OCSP_request_verify"},
87{ERR_FUNC(OCSP_F_OCSP_RESPONSE_GET1_BASIC), "OCSP_response_get1_basic"}, 83{ERR_PACK(0,OCSP_F_OCSP_RESPONSE_GET1_BASIC,0), "OCSP_response_get1_basic"},
88{ERR_FUNC(OCSP_F_OCSP_SENDREQ_BIO), "OCSP_sendreq_bio"}, 84{ERR_PACK(0,OCSP_F_OCSP_SENDREQ_BIO,0), "OCSP_sendreq_bio"},
89{ERR_FUNC(OCSP_F_REQUEST_VERIFY), "REQUEST_VERIFY"}, 85{ERR_PACK(0,OCSP_F_REQUEST_VERIFY,0), "REQUEST_VERIFY"},
90{0,NULL} 86{0,NULL}
91 }; 87 };
92 88
93static ERR_STRING_DATA OCSP_str_reasons[]= 89static ERR_STRING_DATA OCSP_str_reasons[]=
94 { 90 {
95{ERR_REASON(OCSP_R_BAD_DATA) ,"bad data"}, 91{OCSP_R_BAD_DATA ,"bad data"},
96{ERR_REASON(OCSP_R_CERTIFICATE_VERIFY_ERROR),"certificate verify error"}, 92{OCSP_R_CERTIFICATE_VERIFY_ERROR ,"certificate verify error"},
97{ERR_REASON(OCSP_R_DIGEST_ERR) ,"digest err"}, 93{OCSP_R_DIGEST_ERR ,"digest err"},
98{ERR_REASON(OCSP_R_ERROR_IN_NEXTUPDATE_FIELD),"error in nextupdate field"}, 94{OCSP_R_ERROR_IN_NEXTUPDATE_FIELD ,"error in nextupdate field"},
99{ERR_REASON(OCSP_R_ERROR_IN_THISUPDATE_FIELD),"error in thisupdate field"}, 95{OCSP_R_ERROR_IN_THISUPDATE_FIELD ,"error in thisupdate field"},
100{ERR_REASON(OCSP_R_ERROR_PARSING_URL) ,"error parsing url"}, 96{OCSP_R_ERROR_PARSING_URL ,"error parsing url"},
101{ERR_REASON(OCSP_R_MISSING_OCSPSIGNING_USAGE),"missing ocspsigning usage"}, 97{OCSP_R_MISSING_OCSPSIGNING_USAGE ,"missing ocspsigning usage"},
102{ERR_REASON(OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE),"nextupdate before thisupdate"}, 98{OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE ,"nextupdate before thisupdate"},
103{ERR_REASON(OCSP_R_NOT_BASIC_RESPONSE) ,"not basic response"}, 99{OCSP_R_NOT_BASIC_RESPONSE ,"not basic response"},
104{ERR_REASON(OCSP_R_NO_CERTIFICATES_IN_CHAIN),"no certificates in chain"}, 100{OCSP_R_NO_CERTIFICATES_IN_CHAIN ,"no certificates in chain"},
105{ERR_REASON(OCSP_R_NO_CONTENT) ,"no content"}, 101{OCSP_R_NO_CONTENT ,"no content"},
106{ERR_REASON(OCSP_R_NO_PUBLIC_KEY) ,"no public key"}, 102{OCSP_R_NO_PUBLIC_KEY ,"no public key"},
107{ERR_REASON(OCSP_R_NO_RESPONSE_DATA) ,"no response data"}, 103{OCSP_R_NO_RESPONSE_DATA ,"no response data"},
108{ERR_REASON(OCSP_R_NO_REVOKED_TIME) ,"no revoked time"}, 104{OCSP_R_NO_REVOKED_TIME ,"no revoked time"},
109{ERR_REASON(OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE),"private key does not match certificate"}, 105{OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE,"private key does not match certificate"},
110{ERR_REASON(OCSP_R_REQUEST_NOT_SIGNED) ,"request not signed"}, 106{OCSP_R_REQUEST_NOT_SIGNED ,"request not signed"},
111{ERR_REASON(OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA),"response contains no revocation data"}, 107{OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA,"response contains no revocation data"},
112{ERR_REASON(OCSP_R_ROOT_CA_NOT_TRUSTED) ,"root ca not trusted"}, 108{OCSP_R_ROOT_CA_NOT_TRUSTED ,"root ca not trusted"},
113{ERR_REASON(OCSP_R_SERVER_READ_ERROR) ,"server read error"}, 109{OCSP_R_SERVER_READ_ERROR ,"server read error"},
114{ERR_REASON(OCSP_R_SERVER_RESPONSE_ERROR),"server response error"}, 110{OCSP_R_SERVER_RESPONSE_ERROR ,"server response error"},
115{ERR_REASON(OCSP_R_SERVER_RESPONSE_PARSE_ERROR),"server response parse error"}, 111{OCSP_R_SERVER_RESPONSE_PARSE_ERROR ,"server response parse error"},
116{ERR_REASON(OCSP_R_SERVER_WRITE_ERROR) ,"server write error"}, 112{OCSP_R_SERVER_WRITE_ERROR ,"server write error"},
117{ERR_REASON(OCSP_R_SIGNATURE_FAILURE) ,"signature failure"}, 113{OCSP_R_SIGNATURE_FAILURE ,"signature failure"},
118{ERR_REASON(OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND),"signer certificate not found"}, 114{OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND ,"signer certificate not found"},
119{ERR_REASON(OCSP_R_STATUS_EXPIRED) ,"status expired"}, 115{OCSP_R_STATUS_EXPIRED ,"status expired"},
120{ERR_REASON(OCSP_R_STATUS_NOT_YET_VALID) ,"status not yet valid"}, 116{OCSP_R_STATUS_NOT_YET_VALID ,"status not yet valid"},
121{ERR_REASON(OCSP_R_STATUS_TOO_OLD) ,"status too old"}, 117{OCSP_R_STATUS_TOO_OLD ,"status too old"},
122{ERR_REASON(OCSP_R_UNKNOWN_MESSAGE_DIGEST),"unknown message digest"}, 118{OCSP_R_UNKNOWN_MESSAGE_DIGEST ,"unknown message digest"},
123{ERR_REASON(OCSP_R_UNKNOWN_NID) ,"unknown nid"}, 119{OCSP_R_UNKNOWN_NID ,"unknown nid"},
124{ERR_REASON(OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE),"unsupported requestorname type"}, 120{OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE ,"unsupported requestorname type"},
125{0,NULL} 121{0,NULL}
126 }; 122 };
127 123
@@ -135,8 +131,8 @@ void ERR_load_OCSP_strings(void)
135 { 131 {
136 init=0; 132 init=0;
137#ifndef OPENSSL_NO_ERR 133#ifndef OPENSSL_NO_ERR
138 ERR_load_strings(0,OCSP_str_functs); 134 ERR_load_strings(ERR_LIB_OCSP,OCSP_str_functs);
139 ERR_load_strings(0,OCSP_str_reasons); 135 ERR_load_strings(ERR_LIB_OCSP,OCSP_str_reasons);
140#endif 136#endif
141 137
142 } 138 }