Makefile 40.5 KB
Newer Older
1
#
B
Ben Laurie 已提交
2
# test/Makefile
3 4 5 6 7
#

DIR=		test
TOP=		..
CC=		cc
8
INCLUDES=	-I$(TOP) -I../include -I../crypto/include -I$(TOP)/fips
9
CFLAG=		-g
10
MAKEDEPEND=	$(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
11
PERL=		perl
12 13

PEX_LIBS=
14
EX_LIBS= #-lnsl -lsocket
15 16 17

CFLAGS= $(INCLUDES) $(CFLAG)

B
Ben Laurie 已提交
18
GENERAL=Makefile maketests.com \
U
Ulf Möller 已提交
19 20 21
	tests.com testenc.com tx509.com trsa.com tcrl.com tsid.com treq.com \
	tpkcs7.com tpkcs7d.com tverify.com testgen.com testss.com testssl.com \
	testca.com VMSca-response.1 VMSca-response.2
22 23 24 25 26

DLIBCRYPTO= ../libcrypto.a
DLIBSSL= ../libssl.a
LIBCRYPTO= -L.. -lcrypto
LIBSSL= -L.. -lssl
27
LIBFIPS= -L.. -lfips
28

R
Rich Salz 已提交
29 30 31
# Prefix for logline for each test
START= @@@ START

32
BNTEST=		bntest
33
ECTEST=		ectest
34
ECDSATEST=	ecdsatest
B
Bodo Möller 已提交
35
ECDHTEST=	ecdhtest
36 37 38
EXPTEST=	exptest
IDEATEST=	ideatest
SHA1TEST=	sha1test
A
Andy Polyakov 已提交
39 40
SHA256TEST=	sha256t
SHA512TEST=	sha512t
41
MDC2TEST=	mdc2test
42
RMDTEST=	rmdtest
43
MD2TEST=	md2test
44
MD4TEST=	md4test
45
MD5TEST=	md5test
46
HMACTEST=	hmactest
47
WPTEST=		wp_test
48
RC2TEST=	rc2test
49 50
RC4TEST=	rc4test
RC5TEST=	rc5test
51
BFTEST=		bftest
52
CASTTEST=	casttest
53
DESTEST=	destest
54
GOST2814789TEST=gost2814789test
55 56 57 58
RANDTEST=	randtest
DHTEST=		dhtest
DSATEST=	dsatest
SSLTEST=	ssltest
59
RSATEST=	rsa_test
60
ENGINETEST=	enginetest
B
Ben Laurie 已提交
61
EVPTEST=	evp_test
62
EVPEXTRATEST=evp_extra_test
C
Christian Heimes 已提交
63
P5_CRPT2_TEST=	p5_crpt2_test
B
Ben Laurie 已提交
64
IGETEST=	igetest
65
JPAKETEST=	jpaketest
R
Rich Salz 已提交
66
SECMEMTEST=	secmemtest
B
Ben Laurie 已提交
67
SRPTEST=	srptest
D
Dr. Stephen Henson 已提交
68
V3NAMETEST=	v3nametest
B
Ben Laurie 已提交
69
HEARTBEATTEST=  heartbeat_test
E
Emilia Kasper 已提交
70
CONSTTIMETEST=  constant_time_test
M
Matt Caswell 已提交
71
VERIFYEXTRATEST=	verify_extra_test
72
CLIENTHELLOTEST=	clienthellotest
M
Matt Caswell 已提交
73
PACKETTEST=	packettest
M
Matt Caswell 已提交
74 75
SSLVERTOLTEST=	sslvertoltest.pl
SSLEXTENSIONTEST=	sslextensiontest.pl
76

77 78
TESTS=		alltests

79
EXE=	$(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT)  $(ECDSATEST)$(EXE_EXT) $(ECDHTEST)$(EXE_EXT) $(IDEATEST)$(EXE_EXT) \
80
	$(MD2TEST)$(EXE_EXT)  $(MD4TEST)$(EXE_EXT) $(MD5TEST)$(EXE_EXT) $(HMACTEST)$(EXE_EXT) $(WPTEST)$(EXE_EXT) \
81
	$(RC2TEST)$(EXE_EXT) $(RC4TEST)$(EXE_EXT) $(RC5TEST)$(EXE_EXT) \
82
	$(DESTEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT) \
83 84
	$(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \
	$(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \
A
Andy Polyakov 已提交
85
	$(GOST2814789TEST)$(EXE_EXT) \
86 87
	$(BFTEST)$(EXE_EXT) $(CASTTEST)$(EXE_EXT) $(SSLTEST)$(EXE_EXT) \
	$(EXPTEST)$(EXE_EXT) $(DSATEST)$(EXE_EXT) $(RSATEST)$(EXE_EXT) \
88
	$(EVPTEST)$(EXE_EXT) $(EVPEXTRATEST)$(EXE_EXT) $(IGETEST)$(EXE_EXT) \
R
Rich Salz 已提交
89 90
	$(JPAKETEST)$(EXE_EXT) $(SECMEMTEST)$(EXE_EXT) \
	$(SRPTEST)$(EXE_EXT) $(V3NAMETEST)$(EXE_EXT) \
91
	$(HEARTBEATTEST)$(EXE_EXT) $(P5_CRPT2_TEST)$(EXE_EXT) \
92
	$(CONSTTIMETEST)$(EXE_EXT) $(VERIFYEXTRATEST)$(EXE_EXT) \
M
Matt Caswell 已提交
93
	$(CLIENTHELLOTEST)$(EXE_EXT) $(PACKETTEST)$(EXE_EXT)
94

95
# $(METHTEST)$(EXE_EXT)
96

B
Bodo Möller 已提交
97
OBJ=	$(BNTEST).o $(ECTEST).o  $(ECDSATEST).o $(ECDHTEST).o $(IDEATEST).o \
98
	$(MD2TEST).o $(MD4TEST).o $(MD5TEST).o \
99
	$(HMACTEST).o $(WPTEST).o \
100
	$(RC2TEST).o $(RC4TEST).o $(RC5TEST).o \
101
	$(DESTEST).o $(SHA1TEST).o $(SHA256TEST).o $(SHA512TEST).o \
A
Andy Polyakov 已提交
102
	$(MDC2TEST).o $(RMDTEST).o \
103
	$(RANDTEST).o $(DHTEST).o $(ENGINETEST).o $(CASTTEST).o \
B
Ben Laurie 已提交
104
	$(BFTEST).o  $(SSLTEST).o  $(DSATEST).o  $(EXPTEST).o $(RSATEST).o \
105
	$(EVPTEST).o $(EVPEXTRATEST).o $(IGETEST).o $(JPAKETEST).o $(V3NAMETEST).o \
106
	$(GOST2814789TEST).o $(HEARTBEATTEST).o $(P5_CRPT2_TEST).o \
M
Matt Caswell 已提交
107 108
	$(CONSTTIMETEST).o $(VERIFYEXTRATEST).o $(CLIENTHELLOTEST).o \
	$(PACKETTEST).o testutil.o
C
Christian Heimes 已提交
109

B
Bodo Möller 已提交
110
SRC=	$(BNTEST).c $(ECTEST).c  $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \
111
	$(MD2TEST).c  $(MD4TEST).c $(MD5TEST).c \
112
	$(HMACTEST).c $(WPTEST).c \
113
	$(RC2TEST).c $(RC4TEST).c $(RC5TEST).c \
114
	$(DESTEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \
115
	$(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \
B
Ben Laurie 已提交
116
	$(BFTEST).c  $(SSLTEST).c $(DSATEST).c   $(EXPTEST).c $(RSATEST).c \
117
	$(EVPTEST).c $(EVPEXTRATEST).c $(IGETEST).c $(JPAKETEST).c $(V3NAMETEST).c \
118
	$(GOST2814789TEST).c $(HEARTBEATTEST).c $(P5_CRPT2_TEST).c \
M
Matt Caswell 已提交
119 120
	$(CONSTTIMETEST).c $(VERIFYEXTRATEST).c $(CLIENTHELLOTEST).c \
	$(PACKETTEST).c testutil.c
121

122
HEADER=	testutil.h
123

124
ALL=	$(GENERAL) $(SRC) $(HEADER)
125 126

top:
127
	(cd ..; $(MAKE) DIRS=$(DIR) TESTS=$(TESTS) all)
128 129 130

all:	exe

131
exe:	$(EXE) dummytest$(EXE_EXT)
132

133
files:
B
Ben Laurie 已提交
134
	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
135

136 137
generate: $(SRC)
$(SRC):
138
	@sh $(TOP)/util/point.sh dummytest.c $@
139

140 141 142 143 144
errors:

tags:
	ctags $(SRC)

145 146 147
tests:	exe apps $(TESTS)

apps:
148
	@(cd ..; $(MAKE) DIRS=apps all)
149

150
alltests: \
151
	test_des test_idea test_sha test_md4 test_md5 test_hmac \
152
	test_md2 test_mdc2 test_wp \
153
	test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast \
B
Bodo Möller 已提交
154
	test_rand test_bn test_ec test_ecdsa test_ecdh \
155
	test_enc test_x509 test_rsa test_crl test_sid \
156
	test_gen test_req test_pkcs7 test_verify test_dh test_dsa \
157
	test_ss test_ca test_engine test_evp test_evp_extra test_ssl test_tsa \
R
Rich Salz 已提交
158 159
	test_ige test_jpake test_secmem \
	test_srp test_cms test_v3name test_ocsp \
E
Emilia Kasper 已提交
160
	test_gost2814789 test_heartbeat test_p5_crpt2 \
M
Matt Caswell 已提交
161 162
	test_constant_time test_verify_extra test_clienthello test_packet \
	test_sslvertol test_sslextension
B
Ben Laurie 已提交
163

164
test_evp: $(EVPTEST)$(EXE_EXT) evptests.txt
R
Rich Salz 已提交
165
	@echo $(START) $@
166
	../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
167

168
test_evp_extra: $(EVPEXTRATEST)$(EXE_EXT)
R
Rich Salz 已提交
169
	@echo $(START) $@
170 171
	../util/shlib_wrap.sh ./$(EVPEXTRATEST)

C
Christian Heimes 已提交
172
test_p5_crpt2: $(P5_CRPT2_TEST)$(EXE_EXT)
R
Rich Salz 已提交
173
	@echo $(START) $@
C
Christian Heimes 已提交
174 175
	../util/shlib_wrap.sh ./$(P5_CRPT2_TEST)

176
test_des: $(DESTEST)$(EXE_EXT)
R
Rich Salz 已提交
177
	@echo $(START) $@
178
	../util/shlib_wrap.sh ./$(DESTEST)
179

180
test_idea: $(IDEATEST)$(EXE_EXT)
R
Rich Salz 已提交
181
	@echo $(START) $@
182
	../util/shlib_wrap.sh ./$(IDEATEST)
183

184
test_sha: $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT)
R
Rich Salz 已提交
185
	@echo $(START) $@ -- sha1
186
	../util/shlib_wrap.sh ./$(SHA1TEST)
R
Rich Salz 已提交
187
	@echo $(START) $@ -- sha256
188
	../util/shlib_wrap.sh ./$(SHA256TEST)
R
Rich Salz 已提交
189
	@echo $(START) $@ -- sha512
190
	../util/shlib_wrap.sh ./$(SHA512TEST)
191

192
test_mdc2: $(MDC2TEST)$(EXE_EXT)
R
Rich Salz 已提交
193
	@echo $(START) $@
194
	../util/shlib_wrap.sh ./$(MDC2TEST)
195

196
test_md5: $(MD5TEST)$(EXE_EXT)
R
Rich Salz 已提交
197
	@echo $(START) $@
198
	../util/shlib_wrap.sh ./$(MD5TEST)
199

200
test_md4: $(MD4TEST)$(EXE_EXT)
R
Rich Salz 已提交
201
	@echo $(START) $@
202
	../util/shlib_wrap.sh ./$(MD4TEST)
203

204
test_hmac: $(HMACTEST)$(EXE_EXT)
R
Rich Salz 已提交
205
	@echo $(START) $@
206
	../util/shlib_wrap.sh ./$(HMACTEST)
207

208
test_wp: $(WPTEST)$(EXE_EXT)
R
Rich Salz 已提交
209
	@echo $(START) $@
210 211
	../util/shlib_wrap.sh ./$(WPTEST)

212
test_md2: $(MD2TEST)$(EXE_EXT)
R
Rich Salz 已提交
213
	@echo $(START) $@
214
	../util/shlib_wrap.sh ./$(MD2TEST)
215

216
test_rmd: $(RMDTEST)$(EXE_EXT)
R
Rich Salz 已提交
217
	@echo $(START) $@
218
	../util/shlib_wrap.sh ./$(RMDTEST)
219

220
test_bf: $(BFTEST)$(EXE_EXT)
R
Rich Salz 已提交
221
	@echo $(START) $@
222
	../util/shlib_wrap.sh ./$(BFTEST)
223

224
test_cast: $(CASTTEST)$(EXE_EXT)
R
Rich Salz 已提交
225
	@echo $(START) $@
226
	../util/shlib_wrap.sh ./$(CASTTEST)
227

228
test_rc2: $(RC2TEST)$(EXE_EXT)
R
Rich Salz 已提交
229
	@echo $(START) $@
230
	../util/shlib_wrap.sh ./$(RC2TEST)
231

232
test_rc4: $(RC4TEST)$(EXE_EXT)
R
Rich Salz 已提交
233
	@echo $(START) $@
234
	../util/shlib_wrap.sh ./$(RC4TEST)
235

236
test_rc5: $(RC5TEST)$(EXE_EXT)
R
Rich Salz 已提交
237
	@echo $(START) $@
238
	../util/shlib_wrap.sh ./$(RC5TEST)
239

240
test_rand: $(RANDTEST)$(EXE_EXT)
R
Rich Salz 已提交
241
	@echo $(START) $@
242
	../util/shlib_wrap.sh ./$(RANDTEST)
243

244
test_gost2814789: $(GOST2814789TEST)$(EXE_EXT)
R
Rich Salz 已提交
245
	@echo $(START) $@
246
	OPENSSL_ENGINES=../engines/ccgost ../util/shlib_wrap.sh ./$(GOST2814789TEST)
A
Andy Polyakov 已提交
247

248
test_enc: ../apps/openssl$(EXE_EXT) testenc
R
Rich Salz 已提交
249
	@echo $(START) $@
250
	@sh ./testenc
251

252
test_x509: ../apps/openssl$(EXE_EXT) tx509 testx509.pem v3-cert1.pem v3-cert2.pem
R
Rich Salz 已提交
253 254 255 256 257 258
	@echo $(START) $@ -- x509v1 certificate
	sh ./tx509
	@echo $(START) $@ -- first x509v3 certificate
	sh ./tx509 v3-cert1.pem
	@echo $(START) $@ -- second x509v3 certificate
	sh ./tx509 v3-cert2.pem
259

260
test_rsa: $(RSATEST)$(EXE_EXT) ../apps/openssl$(EXE_EXT) tkey testrsa.pem testrsapub.pem
R
Rich Salz 已提交
261
	@echo $(START) $@
262
	../util/shlib_wrap.sh ./$(RSATEST)
R
Rich Salz 已提交
263 264 265 266
	@echo $(START) $@ -- private key
	@sh ./tkey testrsa.pem rsa private
	@echo $(START) $@ -- public public
	@sh ./tkey testrsapub.pem rsa public
267

268
test_crl: ../apps/openssl$(EXE_EXT) tcrl testcrl.pem
R
Rich Salz 已提交
269 270
	@echo $(START) $@
	sh ./tcrl
271

272
test_sid: ../apps/openssl$(EXE_EXT) tsid testsid.pem
R
Rich Salz 已提交
273 274
	@echo $(START) $@
	@sh ./tsid
275

276
test_req: ../apps/openssl$(EXE_EXT) treq testreq.pem testreq2.pem
R
Rich Salz 已提交
277 278 279 280
	@echo $(START) $@
	@sh ./treq
	@echo $(START) $@ -- testreq2
	@sh ./treq testreq2.pem
281

282
test_pkcs7: ../apps/openssl$(EXE_EXT) tpkcs7 tpkcs7d testp7.pem pkcs7-1.pem
R
Rich Salz 已提交
283 284 285 286
	@echo $(START) $@ -- pkcs7
	@sh ./tpkcs7
	@echo $(START) $@ -- pkcs7d
	@sh ./tpkcs7d
287

288
test_bn: $(BNTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) bctest
R
Rich Salz 已提交
289
	@echo $(START) $@ -- could take  a while.
290
	@../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
291
	@echo quit >>tmp.bntest
R
Rich Salz 已提交
292
	@echo $(START) $@ -- running bc
293
	@<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0\r?$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'
R
Rich Salz 已提交
294
	@echo $(START) $@ -- $(EXPTEST)
295
	../util/shlib_wrap.sh ./$(EXPTEST)
296

297
test_ec: $(ECTEST)$(EXE_EXT) tkey testec-p256.pem testecpub-p256.pem
R
Rich Salz 已提交
298
	@echo $(START) $@
299
	../util/shlib_wrap.sh ./$(ECTEST)
R
Rich Salz 已提交
300 301 302 303
	@echo $(START) $@ -- private
	@sh ./tkey testec-p256.pem ec private
	@echo $(START) $@ -- public
	@sh ./tkey testecpub-p256.pem ec public
304

305
test_ecdsa: $(ECDSATEST)$(EXE_EXT)
R
Rich Salz 已提交
306
	@echo $(START) $@
307
	../util/shlib_wrap.sh ./$(ECDSATEST)
B
Bodo Möller 已提交
308

309
test_ecdh: $(ECDHTEST)$(EXE_EXT)
R
Rich Salz 已提交
310
	@echo $(START) $@
311
	../util/shlib_wrap.sh ./$(ECDHTEST)
B
Bodo Möller 已提交
312

313
test_verify: ../apps/openssl$(EXE_EXT)
R
Rich Salz 已提交
314
	@echo $(START) $@ -- expect some failures and expired certificates
315
	../util/shlib_wrap.sh ../apps/openssl verify -CApath ../certs/demo ../certs/demo/*.pem
316

317
test_dh: $(DHTEST)$(EXE_EXT)
R
Rich Salz 已提交
318
	@echo $(START) $@
319
	../util/shlib_wrap.sh ./$(DHTEST)
320

321
test_dsa: $(DSATEST)$(EXE_EXT) tkey testdsa.pem testdsapub.pem
R
Rich Salz 已提交
322
	@echo $(START) $@
323
	../util/shlib_wrap.sh ./$(DSATEST)
R
Rich Salz 已提交
324
	@echo $(START) $@ -- app2_1
325
	../util/shlib_wrap.sh ./$(DSATEST) -app2_1
R
Rich Salz 已提交
326 327 328 329
	@echo $(START) $@ -- private
	@sh ./tkey testdsa.pem dsa private
	@echo $(START) $@ -- public
	@sh ./tkey testdsapub.pem dsa public
330

331
test_gen testreq.pem: ../apps/openssl$(EXE_EXT) testgen test.cnf
R
Rich Salz 已提交
332
	@echo $(START) test_gen
333
	@sh ./testgen
334

335
test_ss keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
B
Ben Laurie 已提交
336
		intP1.ss intP2.ss: testss CAss.cnf Uss.cnf P1ss.cnf P2ss.cnf \
337
                                   ../apps/openssl$(EXE_EXT)
R
Rich Salz 已提交
338
	@echo $(START) test_ss
339
	@sh ./testss
340 341
	@cat certCA.ss certU.ss > intP1.ss
	@cat certCA.ss certU.ss certP1.ss > intP2.ss
342

343
test_engine: $(ENGINETEST)$(EXE_EXT)
R
Rich Salz 已提交
344
	@echo $(START) $@
345
	../util/shlib_wrap.sh ./$(ENGINETEST)
346

347
test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
348
		intP1.ss intP2.ss $(SSLTEST)$(EXE_EXT) testssl testsslproxy \
349
		../apps/server2.pem serverinfo.pem
R
Rich Salz 已提交
350
	@echo $(START) $@
351
	../util/shlib_wrap.sh ./$(SSLTEST) -test_cipherlist
R
Rich Salz 已提交
352
	@echo $(START) $@ -- key U
353
	@sh ./testssl keyU.ss certU.ss certCA.ss
R
Rich Salz 已提交
354
	@echo $(START) $@ -- key P1
355
	@sh ./testsslproxy keyP1.ss certP1.ss intP1.ss
R
Rich Salz 已提交
356
	@echo $(START) $@ -- key P2
357
	@sh ./testsslproxy keyP2.ss certP2.ss intP2.ss
358

359
test_ca: ../apps/openssl$(EXE_EXT) testca CAss.cnf Uss.cnf
360
	@if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
R
Rich Salz 已提交
361
	  echo SKIP $@ -- requires RSA; \
362
	else \
R
Rich Salz 已提交
363
	  echo $(START) $@; \
R
Rich Salz 已提交
364
	  sh ./testca $(PERL); \
B
Ben Laurie 已提交
365
	fi
366

367
test_tsa: ../apps/openssl$(EXE_EXT) testtsa CAtsa.cnf ../util/shlib_wrap.sh
368
	@if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
R
Rich Salz 已提交
369
	    echo SKIP $@ -- requires RSA; \
370
	else \
R
Rich Salz 已提交
371
	  echo $(START) $@; \
372 373 374
	  sh ./testtsa; \
	fi

A
Andy Polyakov 已提交
375
test_ige: $(IGETEST)$(EXE_EXT)
R
Rich Salz 已提交
376
	@echo $(START) $@
B
Ben Laurie 已提交
377 378
	../util/shlib_wrap.sh ./$(IGETEST)

379
test_jpake: $(JPAKETEST)$(EXE_EXT)
R
Rich Salz 已提交
380
	@echo $(START) $@
381
	../util/shlib_wrap.sh ./$(JPAKETEST)
B
Ben Laurie 已提交
382

383
test_cms: ../apps/openssl$(EXE_EXT) cms-test.pl smcont.txt
R
Rich Salz 已提交
384
	@echo $(START) $@
385
	$(PERL) cms-test.pl
D
Dr. Stephen Henson 已提交
386

R
Rich Salz 已提交
387 388 389 390
test_secmem: $(SECMEMTEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./secmemtest

B
Ben Laurie 已提交
391
test_srp: $(SRPTEST)$(EXE_EXT)
R
Rich Salz 已提交
392
	@echo $(START) $@
B
Ben Laurie 已提交
393 394
	../util/shlib_wrap.sh ./srptest

D
Dr. Stephen Henson 已提交
395
test_v3name: $(V3NAMETEST)$(EXE_EXT)
R
Rich Salz 已提交
396
	@echo $(START) $@
D
Dr. Stephen Henson 已提交
397 398
	../util/shlib_wrap.sh ./$(V3NAMETEST)

399
test_ocsp: ../apps/openssl$(EXE_EXT) tocsp
R
Rich Salz 已提交
400
	@echo $(START) $@
B
Ben Laurie 已提交
401 402
	@sh ./tocsp

403
test_heartbeat: $(HEARTBEATTEST)$(EXE_EXT)
R
Rich Salz 已提交
404
	@echo $(START) $@
B
Ben Laurie 已提交
405
	../util/shlib_wrap.sh ./$(HEARTBEATTEST)
406

E
Emilia Kasper 已提交
407
test_constant_time: $(CONSTTIMETEST)$(EXE_EXT)
R
Rich Salz 已提交
408
	@echo $(START) $@
E
Emilia Kasper 已提交
409 410
	../util/shlib_wrap.sh ./$(CONSTTIMETEST)

M
Matt Caswell 已提交
411 412 413 414
test_verify_extra: $(VERIFYEXTRATEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./$(VERIFYEXTRATEST)

415 416 417 418
test_clienthello: $(CLIENTHELLOTEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./$(CLIENTHELLOTEST)

M
Matt Caswell 已提交
419 420 421 422
test_packet: $(PACKETTEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./$(PACKETTEST)

M
Matt Caswell 已提交
423 424 425 426 427 428 429 430 431
#OPENSSL_ia32cap=... in ssl tests below ensures AES-NI is switched off (AES-NI does not go through the testmode engine)
test_sslvertol: ../apps/openssl$(EXE_EXT)
	@echo $(START) $@
	PERL5LIB=$$PERL5LIB:../util ../util/shlib_wrap.sh ./$(SSLVERTOLTEST) "OPENSSL_ia32cap='~0x200000200000000' ../apps/openssl$(EXE_EXT)" ../apps/server.pem

test_sslextension: ../apps/openssl$(EXE_EXT)
	@echo $(START) $@
	PERL5LIB=$$PERL5LIB:../util ../util/shlib_wrap.sh ./$(SSLEXTENSIONTEST) "OPENSSL_ia32cap='~0x200000200000000' ../apps/openssl$(EXE_EXT)" ../apps/server.pem

432 433 434 435 436 437 438
update: local_depend
	@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi

depend: local_depend
	@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
local_depend:
	@[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC)
439 440

dclean:
441
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
442
	mv -f Makefile.new $(MAKEFILE)
443
	rm -f newkey.pem testkey.pem testreq.pem
444 445

clean:
446
	rm -f .rnd tmp.bntest tmp.bctest *.o *.obj *.dll lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log dummytest
447 448

$(DLIBSSL):
449
	(cd ..; $(MAKE) build_libssl)
450 451

$(DLIBCRYPTO):
452
	(cd ..; $(MAKE) build_libcrypto)
453

454
BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
455 456
		shlib_target="$(SHLIB_TARGET)"; \
	fi; \
457
	LIBRARIES="$(LIBSSL) $(LIBCRYPTO)"; \
A
Andy Polyakov 已提交
458
	$(MAKE) -f $(TOP)/Makefile.shared -e \
459
		APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o $$testutil" \
460
		LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
461
		link_app.$${shlib_target}
B
Ben Laurie 已提交
462

463
BUILD_CMD_STATIC=shlib_target=; \
464
	LIBRARIES="$(DLIBSSL) $(DLIBCRYPTO)"; \
465
	$(MAKE) -f $(TOP)/Makefile.shared -e \
466
		APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o $$testutil" \
467 468 469
		LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
		link_app.$${shlib_target}

470 471 472
$(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
	@target=$(RSATEST); $(BUILD_CMD)

473
$(BNTEST)$(EXE_EXT): $(BNTEST).o $(DLIBCRYPTO)
474
	@target=$(BNTEST); $(BUILD_CMD)
475

476
$(ECTEST)$(EXE_EXT): $(ECTEST).o $(DLIBCRYPTO)
477
	@target=$(ECTEST); $(BUILD_CMD)
478

479
$(EXPTEST)$(EXE_EXT): $(EXPTEST).o $(DLIBCRYPTO)
480
	@target=$(EXPTEST); $(BUILD_CMD)
481

482
$(IDEATEST)$(EXE_EXT): $(IDEATEST).o $(DLIBCRYPTO)
483
	@target=$(IDEATEST); $(BUILD_CMD)
484

485
$(MD2TEST)$(EXE_EXT): $(MD2TEST).o $(DLIBCRYPTO)
486
	@target=$(MD2TEST); $(BUILD_CMD)
487

488
$(SHA1TEST)$(EXE_EXT): $(SHA1TEST).o $(DLIBCRYPTO)
489
	@target=$(SHA1TEST); $(BUILD_CMD)
A
Andy Polyakov 已提交
490

491
$(SHA256TEST)$(EXE_EXT): $(SHA256TEST).o $(DLIBCRYPTO)
492
	@target=$(SHA256TEST); $(BUILD_CMD)
A
Andy Polyakov 已提交
493

494
$(SHA512TEST)$(EXE_EXT): $(SHA512TEST).o $(DLIBCRYPTO)
495
	@target=$(SHA512TEST); $(BUILD_CMD)
496

497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
FIPS_BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
		shlib_target="$(SHLIB_TARGET)"; \
	fi; \
	if [ "$(FIPSCANLIB)" = "libfips" ]; then \
		LIBRARIES="-L$(TOP) -lfips"; \
	elif [ -n "$(FIPSCANLIB)" ]; then \
		FIPSLD_CC="$(CC)"; CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
		LIBRARIES="$${FIPSLIBDIR:-$(TOP)/fips/}fipscanister.o"; \
	else \
		LIBRARIES="$(LIBCRYPTO)"; \
	fi; \
	$(MAKE) -f $(TOP)/Makefile.shared -e \
		CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
		LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
		link_app.$${shlib_target}

FIPS_CRYPTO_BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
		shlib_target="$(SHLIB_TARGET)"; \
	fi; \
516
	LIBRARIES="$(LIBSSL) $(LIBCRYPTO)"; \
517 518 519 520 521 522 523 524 525
	if [ -z "$(SHARED_LIBS)" -a -n "$(FIPSCANLIB)" ] ; then \
		FIPSLD_CC="$(CC)"; CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
	fi; \
	[ "$(FIPSCANLIB)" = "libfips" ] && LIBRARIES="$$LIBRARIES -lfips"; \
	$(MAKE) -f $(TOP)/Makefile.shared -e \
		CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
		LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
		link_app.$${shlib_target}

526
$(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO)
527
	@target=$(RMDTEST); $(BUILD_CMD)
528

529
$(MDC2TEST)$(EXE_EXT): $(MDC2TEST).o $(DLIBCRYPTO)
530
	@target=$(MDC2TEST); $(BUILD_CMD)
531

532
$(MD4TEST)$(EXE_EXT): $(MD4TEST).o $(DLIBCRYPTO)
533
	@target=$(MD4TEST); $(BUILD_CMD)
534

535
$(MD5TEST)$(EXE_EXT): $(MD5TEST).o $(DLIBCRYPTO)
536
	@target=$(MD5TEST); $(BUILD_CMD)
537

538
$(HMACTEST)$(EXE_EXT): $(HMACTEST).o $(DLIBCRYPTO)
539
	@target=$(HMACTEST); $(BUILD_CMD)
540

541 542 543
$(WPTEST)$(EXE_EXT): $(WPTEST).o $(DLIBCRYPTO)
	@target=$(WPTEST); $(BUILD_CMD)

544
$(RC2TEST)$(EXE_EXT): $(RC2TEST).o $(DLIBCRYPTO)
545
	@target=$(RC2TEST); $(BUILD_CMD)
546

547
$(BFTEST)$(EXE_EXT): $(BFTEST).o $(DLIBCRYPTO)
548
	@target=$(BFTEST); $(BUILD_CMD)
549

550
$(CASTTEST)$(EXE_EXT): $(CASTTEST).o $(DLIBCRYPTO)
551
	@target=$(CASTTEST); $(BUILD_CMD)
552

553
$(RC4TEST)$(EXE_EXT): $(RC4TEST).o $(DLIBCRYPTO)
554
	@target=$(RC4TEST); $(BUILD_CMD)
555

556
$(RC5TEST)$(EXE_EXT): $(RC5TEST).o $(DLIBCRYPTO)
557
	@target=$(RC5TEST); $(BUILD_CMD)
558

559
$(DESTEST)$(EXE_EXT): $(DESTEST).o $(DLIBCRYPTO)
560
	@target=$(DESTEST); $(BUILD_CMD)
561

A
Andy Polyakov 已提交
562 563 564
$(GOST2814789TEST)$(EXE_EXT): $(GOST2814789TEST).o $(DLIBCRYPTO)
	@target=$(GOST2814789TEST); $(BUILD_CMD)

565
$(RANDTEST)$(EXE_EXT): $(RANDTEST).o $(DLIBCRYPTO)
566
	@target=$(RANDTEST); $(BUILD_CMD)
567

568
$(DHTEST)$(EXE_EXT): $(DHTEST).o $(DLIBCRYPTO)
569
	@target=$(DHTEST); $(BUILD_CMD)
570

571
$(DSATEST)$(EXE_EXT): $(DSATEST).o $(DLIBCRYPTO)
572
	@target=$(DSATEST); $(BUILD_CMD)
573

574
$(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO)
575
	@target=$(METHTEST); $(BUILD_CMD)
576

577
$(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO)
578
	@target=$(SSLTEST); $(BUILD_CMD)
579

580
$(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO)
581
	@target=$(ENGINETEST); $(BUILD_CMD)
582

583
$(EVPTEST)$(EXE_EXT): $(EVPTEST).o $(DLIBCRYPTO)
584
	@target=$(EVPTEST); $(BUILD_CMD)
B
Bodo Möller 已提交
585

586 587 588
$(EVPEXTRATEST)$(EXE_EXT): $(EVPEXTRATEST).o $(DLIBCRYPTO)
	@target=$(EVPEXTRATEST); $(BUILD_CMD)

C
Christian Heimes 已提交
589 590 591
$(P5_CRPT2_TEST)$(EXE_EXT): $(P5_CRPT2_TEST).o $(DLIBCRYPTO)
	@target=$(P5_CRPT2_TEST); $(BUILD_CMD)

592
$(ECDSATEST)$(EXE_EXT): $(ECDSATEST).o $(DLIBCRYPTO)
593
	@target=$(ECDSATEST); $(BUILD_CMD)
B
Ben Laurie 已提交
594

595
$(ECDHTEST)$(EXE_EXT): $(ECDHTEST).o $(DLIBCRYPTO)
596
	@target=$(ECDHTEST); $(BUILD_CMD)
B
Bodo Möller 已提交
597

B
Ben Laurie 已提交
598 599 600
$(IGETEST)$(EXE_EXT): $(IGETEST).o $(DLIBCRYPTO)
	@target=$(IGETEST); $(BUILD_CMD)

601 602
$(JPAKETEST)$(EXE_EXT): $(JPAKETEST).o $(DLIBCRYPTO)
	@target=$(JPAKETEST); $(BUILD_CMD)
B
Ben Laurie 已提交
603

R
Rich Salz 已提交
604 605 606
$(SECMEMTEST)$(EXE_EXT): $(SECMEMTEST).o $(DLIBCRYPTO)
	@target=$(SECMEMTEST); $(BUILD_CMD)

B
Ben Laurie 已提交
607 608 609
$(SRPTEST)$(EXE_EXT): $(SRPTEST).o $(DLIBCRYPTO)
	@target=$(SRPTEST); $(BUILD_CMD)

D
Dr. Stephen Henson 已提交
610 611 612
$(V3NAMETEST)$(EXE_EXT): $(V3NAMETEST).o $(DLIBCRYPTO)
	@target=$(V3NAMETEST); $(BUILD_CMD)

613 614
$(HEARTBEATTEST)$(EXE_EXT): $(HEARTBEATTEST).o $(DLIBCRYPTO) testutil.o
	@target=$(HEARTBEATTEST) testutil=testutil.o; $(BUILD_CMD_STATIC)
615

E
Emilia Kasper 已提交
616 617 618
$(CONSTTIMETEST)$(EXE_EXT): $(CONSTTIMETEST).o
	@target=$(CONSTTIMETEST) $(BUILD_CMD)

M
Matt Caswell 已提交
619 620 621
$(VERIFYEXTRATEST)$(EXE_EXT): $(VERIFYEXTRATEST).o
	@target=$(VERIFYEXTRATEST) $(BUILD_CMD)

622 623 624
$(CLIENTHELLOTEST)$(EXE_EXT): $(CLIENTHELLOTEST).o
	@target=$(CLIENTHELLOTEST) $(BUILD_CMD)

M
Matt Caswell 已提交
625 626 627
$(PACKETTEST)$(EXE_EXT): $(PACKETTEST).o
	@target=$(PACKETTEST) $(BUILD_CMD)

628 629
#$(AESTEST).o: $(AESTEST).c
#	$(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
630

631
#$(AESTEST)$(EXE_EXT): $(AESTEST).o $(DLIBCRYPTO)
632
#	if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \
633
#	  $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \
634
#	else \
635
#	  $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \
B
Ben Laurie 已提交
636
#	fi
637

638
dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
D
Dr. Stephen Henson 已提交
639
	@target=dummytest; $(BUILD_CMD)
640

641
# DO NOT DELETE THIS LINE -- make depend depends on it.
B
Ben Laurie 已提交
642

R
Richard Levitte 已提交
643
bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h
644
bftest.o: ../include/openssl/opensslconf.h bftest.c
645 646 647
bntest.o: ../crypto/bn/bn_lcl.h ../crypto/include/internal/bn_int.h ../e_os.h
bntest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
bntest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
648
bntest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
649 650 651 652 653 654
bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
bntest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
bntest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
bntest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
bntest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
655 656 657 658
bntest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h
bntest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
bntest.o: ../include/openssl/x509_vfy.h bntest.c
R
Richard Levitte 已提交
659 660
casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h
casttest.o: ../include/openssl/opensslconf.h casttest.c
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678
clienthellotest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
clienthellotest.o: ../include/openssl/buffer.h ../include/openssl/comp.h
clienthellotest.o: ../include/openssl/crypto.h ../include/openssl/dtls1.h
clienthellotest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
clienthellotest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
clienthellotest.o: ../include/openssl/err.h ../include/openssl/evp.h
clienthellotest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
clienthellotest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
clienthellotest.o: ../include/openssl/opensslconf.h
clienthellotest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
clienthellotest.o: ../include/openssl/pem.h ../include/openssl/pem2.h
clienthellotest.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
clienthellotest.o: ../include/openssl/sha.h ../include/openssl/srtp.h
clienthellotest.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
clienthellotest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
clienthellotest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
clienthellotest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
clienthellotest.o: clienthellotest.c
R
Richard Levitte 已提交
679
constant_time_test.o: ../e_os.h ../include/internal/constant_time_locl.h
E
Emilia Kasper 已提交
680 681
constant_time_test.o: ../include/openssl/e_os2.h
constant_time_test.o: ../include/openssl/opensslconf.h constant_time_test.c
682 683
destest.o: ../include/openssl/des.h ../include/openssl/e_os2.h
destest.o: ../include/openssl/opensslconf.h destest.c
R
Richard Levitte 已提交
684
dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
B
Bodo Möller 已提交
685
dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
G
Geoff Thorpe 已提交
686 687
dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
R
Richard Levitte 已提交
688 689 690
dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c
R
Richard Levitte 已提交
691
dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
692 693 694 695 696 697
dsatest.o: ../include/openssl/crypto.h ../include/openssl/dsa.h
dsatest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
dsatest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
dsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
dsatest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dsatest.c
D
Dr. Stephen Henson 已提交
698 699 700 701 702 703 704 705 706 707
ecdhtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
ecdhtest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
ecdhtest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
ecdhtest.o: ../include/openssl/ecdh.h ../include/openssl/err.h
ecdhtest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
ecdhtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
ecdhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
ecdhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
ecdhtest.o: ../include/openssl/sha.h ../include/openssl/stack.h
ecdhtest.o: ../include/openssl/symhacks.h ecdhtest.c
R
Richard Levitte 已提交
708
ecdsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
B
Bodo Möller 已提交
709
ecdsatest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
E
Emilia Kasper 已提交
710
ecdsatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
B
Bodo Möller 已提交
711 712 713 714 715 716 717
ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h
ecdsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
ecdsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
ecdsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
ecdsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
E
Emilia Kasper 已提交
718 719
ecdsatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
ecdsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
B
Bodo Möller 已提交
720 721
ecdsatest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
ecdsatest.o: ecdsatest.c
R
Richard Levitte 已提交
722
ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
B
Bodo Möller 已提交
723
ectest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
E
Emilia Kasper 已提交
724
ectest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
B
Bodo Möller 已提交
725 726 727 728 729 730 731
ectest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
ectest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
ectest.o: ../include/openssl/err.h ../include/openssl/evp.h
ectest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
ectest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
ectest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
ectest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
E
Emilia Kasper 已提交
732 733
ectest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
ectest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
B
Bodo Möller 已提交
734 735
ectest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h ectest.c
enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
736 737 738 739 740 741 742 743 744 745
enginetest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
enginetest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
enginetest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h
enginetest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
enginetest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
enginetest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
enginetest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
enginetest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
enginetest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
B
Bodo Möller 已提交
746 747
enginetest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
enginetest.o: enginetest.c
748 749 750 751 752 753 754 755 756 757 758 759 760
evp_extra_test.o: ../include/openssl/asn1.h ../include/openssl/bio.h
evp_extra_test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
evp_extra_test.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
evp_extra_test.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
evp_extra_test.o: ../include/openssl/err.h ../include/openssl/evp.h
evp_extra_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
evp_extra_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
evp_extra_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
evp_extra_test.o: ../include/openssl/pkcs7.h ../include/openssl/rsa.h
evp_extra_test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
evp_extra_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
evp_extra_test.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
evp_extra_test.o: evp_extra_test.c
D
Dr. Stephen Henson 已提交
761 762 763 764 765 766 767 768 769 770
evp_test.o: ../include/internal/numbers.h ../include/openssl/asn1.h
evp_test.o: ../include/openssl/bio.h ../include/openssl/buffer.h
evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h
evp_test.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
evp_test.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h
evp_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
evp_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
evp_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
evp_test.o: ../include/openssl/pem.h ../include/openssl/pem2.h
D
Dr. Stephen Henson 已提交
771 772 773 774 775
evp_test.o: ../include/openssl/pkcs12.h ../include/openssl/pkcs7.h
evp_test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
evp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
evp_test.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
evp_test.o: ../include/openssl/x509v3.h evp_test.c
R
Richard Levitte 已提交
776
exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
777 778 779
exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
R
Richard Levitte 已提交
780 781 782
exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
exptest.o: ../include/openssl/symhacks.h exptest.c
R
Rich Salz 已提交
783 784 785 786 787 788 789 790 791
gost2814789test.o: ../e_os.h ../engines/ccgost/gost89.h
gost2814789test.o: ../include/openssl/asn1.h ../include/openssl/bio.h
gost2814789test.o: ../include/openssl/buffer.h ../include/openssl/conf.h
gost2814789test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
gost2814789test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
gost2814789test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
gost2814789test.o: ../include/openssl/err.h ../include/openssl/evp.h
gost2814789test.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
gost2814789test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
792 793 794 795 796 797
gost2814789test.o: ../include/openssl/opensslconf.h
gost2814789test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
gost2814789test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
gost2814789test.o: ../include/openssl/sha.h ../include/openssl/stack.h
gost2814789test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
gost2814789test.o: ../include/openssl/x509_vfy.h gost2814789test.c
798
heartbeat_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
M
Matt Caswell 已提交
799 800 801 802 803 804 805 806 807
heartbeat_test.o: ../include/openssl/bn.h ../include/openssl/buffer.h
heartbeat_test.o: ../include/openssl/comp.h ../include/openssl/crypto.h
heartbeat_test.o: ../include/openssl/dsa.h ../include/openssl/dtls1.h
heartbeat_test.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
heartbeat_test.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
heartbeat_test.o: ../include/openssl/err.h ../include/openssl/evp.h
heartbeat_test.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
heartbeat_test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
heartbeat_test.o: ../include/openssl/opensslconf.h
808 809 810 811 812 813
heartbeat_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
heartbeat_test.o: ../include/openssl/pem.h ../include/openssl/pem2.h
heartbeat_test.o: ../include/openssl/pkcs7.h ../include/openssl/pqueue.h
heartbeat_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
heartbeat_test.o: ../include/openssl/sha.h ../include/openssl/srtp.h
heartbeat_test.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
814 815 816
heartbeat_test.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
heartbeat_test.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
heartbeat_test.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
M
Matt Caswell 已提交
817 818
heartbeat_test.o: ../ssl/packet_locl.h ../ssl/record/record.h ../ssl/ssl_locl.h
heartbeat_test.o: heartbeat_test.c testutil.h
R
Richard Levitte 已提交
819
hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
820 821 822 823 824 825 826
hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
hmactest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
hmactest.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h
hmactest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
hmactest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
hmactest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
hmactest.o: ../include/openssl/symhacks.h hmactest.c
R
Richard Levitte 已提交
827 828
ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h
ideatest.o: ../include/openssl/opensslconf.h ideatest.c
R
Rich Salz 已提交
829
igetest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/crypto.h
D
Dr. Stephen Henson 已提交
830 831 832 833
igetest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
igetest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
igetest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
igetest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h igetest.c
E
Emilia Kasper 已提交
834 835 836
jpaketest.o: ../include/openssl/opensslconf.h jpaketest.c
md2test.o: ../e_os.h ../include/openssl/e_os2.h
md2test.o: ../include/openssl/opensslconf.h md2test.c
R
Richard Levitte 已提交
837
md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
838 839 840 841 842 843
md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
md4test.o: ../include/openssl/evp.h ../include/openssl/md4.h
md4test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
md4test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
md4test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md4test.c
R
Richard Levitte 已提交
844
md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
845 846 847 848 849 850
md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
md5test.o: ../include/openssl/evp.h ../include/openssl/md5.h
md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
md5test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
md5test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c
851
mdc2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
852
mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
853 854 855 856 857 858
mdc2test.o: ../include/openssl/e_os2.h ../include/openssl/evp.h
mdc2test.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h
mdc2test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
mdc2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
mdc2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
mdc2test.o: ../include/openssl/symhacks.h mdc2test.c
B
Ben Laurie 已提交
859
p5_crpt2_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
860 861 862 863 864 865 866 867 868 869 870
p5_crpt2_test.o: ../include/openssl/buffer.h ../include/openssl/conf.h
p5_crpt2_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
p5_crpt2_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
p5_crpt2_test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
p5_crpt2_test.o: ../include/openssl/err.h ../include/openssl/evp.h
p5_crpt2_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
p5_crpt2_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
p5_crpt2_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
p5_crpt2_test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
p5_crpt2_test.o: ../include/openssl/sha.h ../include/openssl/stack.h
p5_crpt2_test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
B
Ben Laurie 已提交
871
p5_crpt2_test.o: ../include/openssl/x509_vfy.h p5_crpt2_test.c
M
Matt Caswell 已提交
872 873 874 875 876 877
packettest.o: ../e_os.h ../include/openssl/bn.h ../include/openssl/buffer.h
packettest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
packettest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
packettest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
packettest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
packettest.o: ../ssl/packet_locl.h packettest.c
878 879 880
randtest.o: ../e_os.h ../include/openssl/e_os2.h
randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
randtest.o: ../include/openssl/rand.h randtest.c
R
Richard Levitte 已提交
881
rc2test.o: ../e_os.h ../include/openssl/e_os2.h
882
rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c
883 884 885
rc4test.o: ../e_os.h ../include/openssl/e_os2.h
rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h
rc4test.o: ../include/openssl/sha.h rc4test.c
E
Emilia Kasper 已提交
886 887
rc5test.o: ../e_os.h ../include/openssl/e_os2.h
rc5test.o: ../include/openssl/opensslconf.h rc5test.c
R
Richard Levitte 已提交
888
rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
889 890 891 892 893 894
rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
rmdtest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
rmdtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
rmdtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
rmdtest.o: ../include/openssl/ripemd.h ../include/openssl/safestack.h
rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h rmdtest.c
L
Lutz Jänicke 已提交
895 896
rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h
R
Richard Levitte 已提交
897
rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
B
Bodo Möller 已提交
898 899 900 901
rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h
rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
R
Richard Levitte 已提交
902
rsa_test.o: ../include/openssl/symhacks.h rsa_test.c
R
Richard Levitte 已提交
903
sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
904 905 906 907 908 909
sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
sha1test.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
sha1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
sha1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h sha1test.c
R
Richard Levitte 已提交
910
ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
L
Lutz Jänicke 已提交
911
ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
912 913
ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h
ssltest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
B
Bodo Möller 已提交
914 915 916
ssltest.o: ../include/openssl/dsa.h ../include/openssl/dtls1.h
ssltest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
ssltest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
B
Bodo Möller 已提交
917 918
ssltest.o: ../include/openssl/engine.h ../include/openssl/err.h
ssltest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
919 920 921 922 923 924 925 926 927
ssltest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
ssltest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
ssltest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
ssltest.o: ../include/openssl/pem.h ../include/openssl/pem2.h
ssltest.o: ../include/openssl/pkcs7.h ../include/openssl/pqueue.h
ssltest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
ssltest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
ssltest.o: ../include/openssl/srp.h ../include/openssl/srtp.h
ssltest.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
928 929 930
ssltest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
ssltest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
M
Matt Caswell 已提交
931 932
ssltest.o: ../include/openssl/x509v3.h ../ssl/packet_locl.h
ssltest.o: ../ssl/record/record.h ../ssl/ssl_locl.h ssltest.c
R
Rich Salz 已提交
933 934
testutil.o: ../e_os.h ../include/openssl/e_os2.h
testutil.o: ../include/openssl/opensslconf.h testutil.c testutil.h
935
v3nametest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
E
Emilia Kasper 已提交
936 937 938 939 940 941 942 943
v3nametest.o: ../include/openssl/buffer.h ../include/openssl/conf.h
v3nametest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
v3nametest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
v3nametest.o: ../include/openssl/ecdsa.h ../include/openssl/evp.h
v3nametest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
v3nametest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
v3nametest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
v3nametest.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
D
Dr. Stephen Henson 已提交
944 945 946 947
v3nametest.o: ../include/openssl/sha.h ../include/openssl/stack.h
v3nametest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
v3nametest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h
v3nametest.o: v3nametest.c
948 949 950 951 952 953 954
verify_extra_test.o: ../include/openssl/asn1.h ../include/openssl/bio.h
verify_extra_test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
verify_extra_test.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
verify_extra_test.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
verify_extra_test.o: ../include/openssl/err.h ../include/openssl/evp.h
verify_extra_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
verify_extra_test.o: ../include/openssl/objects.h
M
Matt Caswell 已提交
955 956
verify_extra_test.o: ../include/openssl/opensslconf.h
verify_extra_test.o: ../include/openssl/opensslv.h
957 958 959 960 961 962
verify_extra_test.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
verify_extra_test.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
verify_extra_test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
verify_extra_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
verify_extra_test.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
verify_extra_test.o: verify_extra_test.c
963 964 965 966 967
wp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
wp_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
wp_test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
wp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
wp_test.o: ../include/openssl/whrlpool.h wp_test.c