Makefile 39.9 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
74

75 76
TESTS=		alltests

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

93
# $(METHTEST)$(EXE_EXT)
94

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

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

120
HEADER=	testutil.h
121

122
ALL=	$(GENERAL) $(SRC) $(HEADER)
123 124

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

all:	exe

129
exe:	$(EXE) dummytest$(EXE_EXT)
130

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

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

138 139 140 141 142
errors:

tags:
	ctags $(SRC)

143 144 145
tests:	exe apps $(TESTS)

apps:
146
	@(cd ..; $(MAKE) DIRS=apps all)
147

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

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

165
test_evp_extra: $(EVPEXTRATEST)$(EXE_EXT)
R
Rich Salz 已提交
166
	@echo $(START) $@
167 168
	../util/shlib_wrap.sh ./$(EVPEXTRATEST)

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

173
test_des: $(DESTEST)$(EXE_EXT)
R
Rich Salz 已提交
174
	@echo $(START) $@
175
	../util/shlib_wrap.sh ./$(DESTEST)
176

177
test_idea: $(IDEATEST)$(EXE_EXT)
R
Rich Salz 已提交
178
	@echo $(START) $@
179
	../util/shlib_wrap.sh ./$(IDEATEST)
180

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

189
test_mdc2: $(MDC2TEST)$(EXE_EXT)
R
Rich Salz 已提交
190
	@echo $(START) $@
191
	../util/shlib_wrap.sh ./$(MDC2TEST)
192

193
test_md5: $(MD5TEST)$(EXE_EXT)
R
Rich Salz 已提交
194
	@echo $(START) $@
195
	../util/shlib_wrap.sh ./$(MD5TEST)
196

197
test_md4: $(MD4TEST)$(EXE_EXT)
R
Rich Salz 已提交
198
	@echo $(START) $@
199
	../util/shlib_wrap.sh ./$(MD4TEST)
200

201
test_hmac: $(HMACTEST)$(EXE_EXT)
R
Rich Salz 已提交
202
	@echo $(START) $@
203
	../util/shlib_wrap.sh ./$(HMACTEST)
204

205
test_wp: $(WPTEST)$(EXE_EXT)
R
Rich Salz 已提交
206
	@echo $(START) $@
207 208
	../util/shlib_wrap.sh ./$(WPTEST)

209
test_md2: $(MD2TEST)$(EXE_EXT)
R
Rich Salz 已提交
210
	@echo $(START) $@
211
	../util/shlib_wrap.sh ./$(MD2TEST)
212

213
test_rmd: $(RMDTEST)$(EXE_EXT)
R
Rich Salz 已提交
214
	@echo $(START) $@
215
	../util/shlib_wrap.sh ./$(RMDTEST)
216

217
test_bf: $(BFTEST)$(EXE_EXT)
R
Rich Salz 已提交
218
	@echo $(START) $@
219
	../util/shlib_wrap.sh ./$(BFTEST)
220

221
test_cast: $(CASTTEST)$(EXE_EXT)
R
Rich Salz 已提交
222
	@echo $(START) $@
223
	../util/shlib_wrap.sh ./$(CASTTEST)
224

225
test_rc2: $(RC2TEST)$(EXE_EXT)
R
Rich Salz 已提交
226
	@echo $(START) $@
227
	../util/shlib_wrap.sh ./$(RC2TEST)
228

229
test_rc4: $(RC4TEST)$(EXE_EXT)
R
Rich Salz 已提交
230
	@echo $(START) $@
231
	../util/shlib_wrap.sh ./$(RC4TEST)
232

233
test_rc5: $(RC5TEST)$(EXE_EXT)
R
Rich Salz 已提交
234
	@echo $(START) $@
235
	../util/shlib_wrap.sh ./$(RC5TEST)
236

237
test_rand: $(RANDTEST)$(EXE_EXT)
R
Rich Salz 已提交
238
	@echo $(START) $@
239
	../util/shlib_wrap.sh ./$(RANDTEST)
240

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

245
test_enc: ../apps/openssl$(EXE_EXT) testenc
R
Rich Salz 已提交
246
	@echo $(START) $@
247
	@sh ./testenc
248

249
test_x509: ../apps/openssl$(EXE_EXT) tx509 testx509.pem v3-cert1.pem v3-cert2.pem
R
Rich Salz 已提交
250 251 252 253 254 255
	@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
256

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

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

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

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

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

285
test_bn: $(BNTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) bctest
R
Rich Salz 已提交
286
	@echo $(START) $@ -- could take  a while.
287
	@../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
288
	@echo quit >>tmp.bntest
R
Rich Salz 已提交
289
	@echo $(START) $@ -- running bc
290
	@<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 已提交
291
	@echo $(START) $@ -- $(EXPTEST)
292
	../util/shlib_wrap.sh ./$(EXPTEST)
293

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

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

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

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

314
test_dh: $(DHTEST)$(EXE_EXT)
R
Rich Salz 已提交
315
	@echo $(START) $@
316
	../util/shlib_wrap.sh ./$(DHTEST)
317

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

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

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

340
test_engine: $(ENGINETEST)$(EXE_EXT)
R
Rich Salz 已提交
341
	@echo $(START) $@
342
	../util/shlib_wrap.sh ./$(ENGINETEST)
343

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

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

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

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

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

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

R
Rich Salz 已提交
384 385 386 387
test_secmem: $(SECMEMTEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./secmemtest

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

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

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

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

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

M
Matt Caswell 已提交
408 409 410 411
test_verify_extra: $(VERIFYEXTRATEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./$(VERIFYEXTRATEST)

412 413 414 415
test_clienthello: $(CLIENTHELLOTEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./$(CLIENTHELLOTEST)

M
Matt Caswell 已提交
416 417 418 419
test_packet: $(PACKETTEST)$(EXE_EXT)
	@echo $(START) $@
	../util/shlib_wrap.sh ./$(PACKETTEST)

420 421 422 423 424 425 426
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)
427 428

dclean:
429
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
430
	mv -f Makefile.new $(MAKEFILE)
431
	rm -f newkey.pem testkey.pem testreq.pem
432 433

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

$(DLIBSSL):
437
	(cd ..; $(MAKE) build_libssl)
438 439

$(DLIBCRYPTO):
440
	(cd ..; $(MAKE) build_libcrypto)
441

442
BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
443 444
		shlib_target="$(SHLIB_TARGET)"; \
	fi; \
445
	LIBRARIES="$(LIBSSL) $(LIBCRYPTO)"; \
A
Andy Polyakov 已提交
446
	$(MAKE) -f $(TOP)/Makefile.shared -e \
447
		APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o $$testutil" \
448
		LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
449
		link_app.$${shlib_target}
B
Ben Laurie 已提交
450

451
BUILD_CMD_STATIC=shlib_target=; \
452
	LIBRARIES="$(DLIBSSL) $(DLIBCRYPTO)"; \
453
	$(MAKE) -f $(TOP)/Makefile.shared -e \
454
		APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o $$testutil" \
455 456 457
		LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
		link_app.$${shlib_target}

458 459 460
$(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
	@target=$(RSATEST); $(BUILD_CMD)

461
$(BNTEST)$(EXE_EXT): $(BNTEST).o $(DLIBCRYPTO)
462
	@target=$(BNTEST); $(BUILD_CMD)
463

464
$(ECTEST)$(EXE_EXT): $(ECTEST).o $(DLIBCRYPTO)
465
	@target=$(ECTEST); $(BUILD_CMD)
466

467
$(EXPTEST)$(EXE_EXT): $(EXPTEST).o $(DLIBCRYPTO)
468
	@target=$(EXPTEST); $(BUILD_CMD)
469

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

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

476
$(SHA1TEST)$(EXE_EXT): $(SHA1TEST).o $(DLIBCRYPTO)
477
	@target=$(SHA1TEST); $(BUILD_CMD)
A
Andy Polyakov 已提交
478

479
$(SHA256TEST)$(EXE_EXT): $(SHA256TEST).o $(DLIBCRYPTO)
480
	@target=$(SHA256TEST); $(BUILD_CMD)
A
Andy Polyakov 已提交
481

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

485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503
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; \
504
	LIBRARIES="$(LIBSSL) $(LIBCRYPTO)"; \
505 506 507 508 509 510 511 512 513
	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}

514
$(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO)
515
	@target=$(RMDTEST); $(BUILD_CMD)
516

517
$(MDC2TEST)$(EXE_EXT): $(MDC2TEST).o $(DLIBCRYPTO)
518
	@target=$(MDC2TEST); $(BUILD_CMD)
519

520
$(MD4TEST)$(EXE_EXT): $(MD4TEST).o $(DLIBCRYPTO)
521
	@target=$(MD4TEST); $(BUILD_CMD)
522

523
$(MD5TEST)$(EXE_EXT): $(MD5TEST).o $(DLIBCRYPTO)
524
	@target=$(MD5TEST); $(BUILD_CMD)
525

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

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

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

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

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

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

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

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

A
Andy Polyakov 已提交
550 551 552
$(GOST2814789TEST)$(EXE_EXT): $(GOST2814789TEST).o $(DLIBCRYPTO)
	@target=$(GOST2814789TEST); $(BUILD_CMD)

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

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

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

562
$(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO)
563
	@target=$(METHTEST); $(BUILD_CMD)
564

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

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

571
$(EVPTEST)$(EXE_EXT): $(EVPTEST).o $(DLIBCRYPTO)
572
	@target=$(EVPTEST); $(BUILD_CMD)
B
Bodo Möller 已提交
573

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

C
Christian Heimes 已提交
577 578 579
$(P5_CRPT2_TEST)$(EXE_EXT): $(P5_CRPT2_TEST).o $(DLIBCRYPTO)
	@target=$(P5_CRPT2_TEST); $(BUILD_CMD)

580
$(ECDSATEST)$(EXE_EXT): $(ECDSATEST).o $(DLIBCRYPTO)
581
	@target=$(ECDSATEST); $(BUILD_CMD)
B
Ben Laurie 已提交
582

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

B
Ben Laurie 已提交
586 587 588
$(IGETEST)$(EXE_EXT): $(IGETEST).o $(DLIBCRYPTO)
	@target=$(IGETEST); $(BUILD_CMD)

589 590
$(JPAKETEST)$(EXE_EXT): $(JPAKETEST).o $(DLIBCRYPTO)
	@target=$(JPAKETEST); $(BUILD_CMD)
B
Ben Laurie 已提交
591

R
Rich Salz 已提交
592 593 594
$(SECMEMTEST)$(EXE_EXT): $(SECMEMTEST).o $(DLIBCRYPTO)
	@target=$(SECMEMTEST); $(BUILD_CMD)

B
Ben Laurie 已提交
595 596 597
$(SRPTEST)$(EXE_EXT): $(SRPTEST).o $(DLIBCRYPTO)
	@target=$(SRPTEST); $(BUILD_CMD)

D
Dr. Stephen Henson 已提交
598 599 600
$(V3NAMETEST)$(EXE_EXT): $(V3NAMETEST).o $(DLIBCRYPTO)
	@target=$(V3NAMETEST); $(BUILD_CMD)

601 602
$(HEARTBEATTEST)$(EXE_EXT): $(HEARTBEATTEST).o $(DLIBCRYPTO) testutil.o
	@target=$(HEARTBEATTEST) testutil=testutil.o; $(BUILD_CMD_STATIC)
603

E
Emilia Kasper 已提交
604 605 606
$(CONSTTIMETEST)$(EXE_EXT): $(CONSTTIMETEST).o
	@target=$(CONSTTIMETEST) $(BUILD_CMD)

M
Matt Caswell 已提交
607 608 609
$(VERIFYEXTRATEST)$(EXE_EXT): $(VERIFYEXTRATEST).o
	@target=$(VERIFYEXTRATEST) $(BUILD_CMD)

610 611 612
$(CLIENTHELLOTEST)$(EXE_EXT): $(CLIENTHELLOTEST).o
	@target=$(CLIENTHELLOTEST) $(BUILD_CMD)

M
Matt Caswell 已提交
613 614 615
$(PACKETTEST)$(EXE_EXT): $(PACKETTEST).o
	@target=$(PACKETTEST) $(BUILD_CMD)

616 617
#$(AESTEST).o: $(AESTEST).c
#	$(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
618

619
#$(AESTEST)$(EXE_EXT): $(AESTEST).o $(DLIBCRYPTO)
620
#	if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \
621
#	  $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \
622
#	else \
623
#	  $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \
B
Ben Laurie 已提交
624
#	fi
625

626
dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
D
Dr. Stephen Henson 已提交
627
	@target=dummytest; $(BUILD_CMD)
628

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

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