1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
# test/Makefile.ssl
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= test
|
|
|
|
TOP= ..
|
|
|
|
CC= cc
|
2000-12-01 06:53:34 +08:00
|
|
|
INCLUDES= -I../include $(KRB5_INCLUDES)
|
1998-12-21 18:52:47 +08:00
|
|
|
CFLAG= -g
|
1999-04-30 05:52:08 +08:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 18:52:47 +08:00
|
|
|
INSTALLTOP= /usr/local/ssl
|
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
MAKE= make -f $(MAKEFILE)
|
1999-01-20 05:36:31 +08:00
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
2000-02-06 23:56:59 +08:00
|
|
|
PERL= perl
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
PEX_LIBS=
|
1998-12-21 18:56:39 +08:00
|
|
|
EX_LIBS= #-lnsl -lsocket
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
1999-05-13 19:37:32 +08:00
|
|
|
GENERAL=Makefile.ssl maketests.com \
|
|
|
|
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
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
DLIBCRYPTO= ../libcrypto.a
|
|
|
|
DLIBSSL= ../libssl.a
|
|
|
|
LIBCRYPTO= -L.. -lcrypto
|
|
|
|
LIBSSL= -L.. -lssl
|
|
|
|
|
|
|
|
BNTEST= bntest
|
|
|
|
EXPTEST= exptest
|
|
|
|
IDEATEST= ideatest
|
|
|
|
SHATEST= shatest
|
|
|
|
SHA1TEST= sha1test
|
|
|
|
MDC2TEST= mdc2test
|
1998-12-21 18:56:39 +08:00
|
|
|
RMDTEST= rmdtest
|
1998-12-21 18:52:47 +08:00
|
|
|
MD2TEST= md2test
|
2000-08-14 22:05:53 +08:00
|
|
|
MD4TEST= md4test
|
1998-12-21 18:52:47 +08:00
|
|
|
MD5TEST= md5test
|
1998-12-21 18:56:39 +08:00
|
|
|
HMACTEST= hmactest
|
1998-12-21 18:52:47 +08:00
|
|
|
RC2TEST= rc2test
|
1998-12-21 18:56:39 +08:00
|
|
|
RC4TEST= rc4test
|
|
|
|
RC5TEST= rc5test
|
1998-12-21 18:52:47 +08:00
|
|
|
BFTEST= bftest
|
1998-12-21 18:56:39 +08:00
|
|
|
CASTTEST= casttest
|
1998-12-21 18:52:47 +08:00
|
|
|
DESTEST= destest
|
|
|
|
RANDTEST= randtest
|
|
|
|
DHTEST= dhtest
|
|
|
|
DSATEST= dsatest
|
|
|
|
METHTEST= methtest
|
|
|
|
SSLTEST= ssltest
|
2000-01-18 23:08:49 +08:00
|
|
|
RSATEST= rsa_test
|
2000-10-27 05:07:28 +08:00
|
|
|
ENGINETEST= enginetest
|
1998-12-21 18:52:47 +08:00
|
|
|
|
2000-11-13 04:24:30 +08:00
|
|
|
TESTS= alltests
|
|
|
|
|
2000-08-14 22:05:53 +08:00
|
|
|
EXE= $(BNTEST) $(IDEATEST) $(MD2TEST) $(MD4TEST) $(MD5TEST) $(HMACTEST) \
|
1998-12-21 18:56:39 +08:00
|
|
|
$(RC2TEST) $(RC4TEST) $(RC5TEST) \
|
|
|
|
$(DESTEST) $(SHATEST) $(SHA1TEST) $(MDC2TEST) $(RMDTEST) \
|
2000-10-27 05:07:28 +08:00
|
|
|
$(RANDTEST) $(DHTEST) $(ENGINETEST) \
|
|
|
|
$(BFTEST) $(CASTTEST) $(SSLTEST) $(EXPTEST) $(DSATEST) $(RSATEST)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
# $(METHTEST)
|
|
|
|
|
2000-08-14 22:05:53 +08:00
|
|
|
OBJ= $(BNTEST).o $(IDEATEST).o $(MD2TEST).o $(MD4TEST).o $(MD5TEST).o \
|
|
|
|
$(HMACTEST).o \
|
1998-12-21 18:56:39 +08:00
|
|
|
$(RC2TEST).o $(RC4TEST).o $(RC5TEST).o \
|
|
|
|
$(DESTEST).o $(SHATEST).o $(SHA1TEST).o $(MDC2TEST).o $(RMDTEST).o \
|
2000-10-27 05:07:28 +08:00
|
|
|
$(RANDTEST).o $(DHTEST).o $(ENGINETEST).o $(CASTTEST).o \
|
1999-02-18 05:11:08 +08:00
|
|
|
$(BFTEST).o $(SSLTEST).o $(DSATEST).o $(EXPTEST).o $(RSATEST).o
|
2000-08-14 22:05:53 +08:00
|
|
|
SRC= $(BNTEST).c $(IDEATEST).c $(MD2TEST).c $(MD4TEST).c $(MD5TEST).c \
|
|
|
|
$(HMACTEST).c \
|
1998-12-21 18:56:39 +08:00
|
|
|
$(RC2TEST).c $(RC4TEST).c $(RC5TEST).c \
|
|
|
|
$(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \
|
2000-10-27 05:07:28 +08:00
|
|
|
$(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \
|
1999-02-18 05:11:08 +08:00
|
|
|
$(BFTEST).c $(SSLTEST).c $(DSATEST).c $(EXPTEST).c $(RSATEST).c
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
EXHEADER=
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ..; $(MAKE) DIRS=$(DIR) all)
|
|
|
|
|
|
|
|
all: exe
|
|
|
|
|
|
|
|
exe: $(EXE)
|
|
|
|
|
|
|
|
files:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
links:
|
1999-03-06 20:32:06 +08:00
|
|
|
@@$(TOP)/util/point.sh Makefile.ssl Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
errors:
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
2000-11-13 04:24:30 +08:00
|
|
|
tests: exe apps $(TESTS)
|
|
|
|
|
|
|
|
apps:
|
|
|
|
@(cd ../apps; $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' all)
|
|
|
|
|
|
|
|
alltests: \
|
2000-08-14 22:05:53 +08:00
|
|
|
test_des test_idea test_sha test_md4 test_md5 test_hmac \
|
|
|
|
test_md2 test_mdc2 \
|
2000-12-02 16:11:55 +08:00
|
|
|
test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_rd \
|
1999-04-08 23:09:24 +08:00
|
|
|
test_rand test_bn test_enc test_x509 test_rsa test_crl test_sid \
|
2000-01-15 02:43:22 +08:00
|
|
|
test_gen test_req test_pkcs7 test_verify test_dh test_dsa \
|
2000-12-02 16:11:55 +08:00
|
|
|
test_ss test_ca test_engine test_ssl
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
test_des:
|
1998-12-21 19:00:56 +08:00
|
|
|
./$(DESTEST)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
test_idea:
|
|
|
|
./$(IDEATEST)
|
|
|
|
|
|
|
|
test_sha:
|
|
|
|
./$(SHATEST)
|
|
|
|
./$(SHA1TEST)
|
|
|
|
|
|
|
|
test_mdc2:
|
|
|
|
./$(MDC2TEST)
|
|
|
|
|
|
|
|
test_md5:
|
|
|
|
./$(MD5TEST)
|
|
|
|
|
2000-08-14 22:05:53 +08:00
|
|
|
test_md4:
|
|
|
|
./$(MD4TEST)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
test_hmac:
|
|
|
|
./$(HMACTEST)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
test_md2:
|
|
|
|
./$(MD2TEST)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
test_rmd:
|
|
|
|
./$(RMDTEST)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
test_bf:
|
|
|
|
./$(BFTEST)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
test_cast:
|
|
|
|
./$(CASTTEST)
|
|
|
|
|
|
|
|
test_rc2:
|
|
|
|
./$(RC2TEST)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
test_rc4:
|
|
|
|
./$(RC4TEST)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
test_rc5:
|
|
|
|
./$(RC5TEST)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
test_rand:
|
|
|
|
./$(RANDTEST)
|
|
|
|
|
|
|
|
test_enc:
|
|
|
|
@sh ./testenc
|
|
|
|
|
|
|
|
test_x509:
|
|
|
|
echo test normal x509v1 certificate
|
|
|
|
sh ./tx509 2>/dev/null
|
|
|
|
echo test first x509v3 certificate
|
|
|
|
sh ./tx509 v3-cert1.pem 2>/dev/null
|
|
|
|
echo test second x509v3 certificate
|
|
|
|
sh ./tx509 v3-cert2.pem 2>/dev/null
|
|
|
|
|
|
|
|
test_rsa:
|
|
|
|
@sh ./trsa 2>/dev/null
|
1999-02-18 05:11:08 +08:00
|
|
|
./$(RSATEST)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
test_crl:
|
|
|
|
@sh ./tcrl 2>/dev/null
|
|
|
|
|
|
|
|
test_sid:
|
|
|
|
@sh ./tsid 2>/dev/null
|
|
|
|
|
|
|
|
test_req:
|
|
|
|
@sh ./treq 2>/dev/null
|
|
|
|
@sh ./treq testreq2.pem 2>/dev/null
|
|
|
|
|
|
|
|
test_pkcs7:
|
|
|
|
@sh ./tpkcs7 2>/dev/null
|
|
|
|
@sh ./tpkcs7d 2>/dev/null
|
|
|
|
|
|
|
|
test_bn:
|
|
|
|
@echo starting big number library test, could take a while...
|
2000-12-10 12:25:57 +08:00
|
|
|
@./$(BNTEST) >tmp.bntest
|
2000-02-06 23:56:59 +08:00
|
|
|
@echo quit >>tmp.bntest
|
2000-12-06 18:32:55 +08:00
|
|
|
@echo "running bc"
|
2000-12-09 18:05:03 +08:00
|
|
|
@<tmp.bntest sh -c "`sh ./bctest`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'
|
1999-04-08 23:09:24 +08:00
|
|
|
@echo 'test a^b%c implementations'
|
|
|
|
./$(EXPTEST)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
test_verify:
|
|
|
|
@echo "The following command should have some OK's and some failures"
|
|
|
|
@echo "There are definitly a few expired certificates"
|
1999-01-03 03:01:41 +08:00
|
|
|
../apps/openssl verify -CApath ../certs ../certs/*.pem
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
test_dh:
|
2000-01-30 10:23:03 +08:00
|
|
|
@echo "Generate a set of DH parameters"
|
1998-12-21 18:52:47 +08:00
|
|
|
./$(DHTEST)
|
|
|
|
|
|
|
|
test_dsa:
|
2000-01-30 10:23:03 +08:00
|
|
|
@echo "Generate a set of DSA parameters"
|
1998-12-21 18:52:47 +08:00
|
|
|
./$(DSATEST)
|
2000-01-30 10:23:03 +08:00
|
|
|
./$(DSATEST) -app2_1
|
1998-12-21 18:52:47 +08:00
|
|
|
|
2000-01-15 02:43:22 +08:00
|
|
|
test_gen:
|
1998-12-21 18:52:47 +08:00
|
|
|
@echo "Generate and verify a certificate request"
|
|
|
|
@sh ./testgen
|
|
|
|
|
2000-03-14 03:35:37 +08:00
|
|
|
test_ss keyU.ss certU.ss certCA.ss: testss
|
1998-12-21 18:52:47 +08:00
|
|
|
@echo "Generate and certify a test certificate"
|
|
|
|
@sh ./testss
|
|
|
|
|
2000-10-27 05:07:28 +08:00
|
|
|
test_engine:
|
|
|
|
@echo "Manipulate the ENGINE structures"
|
|
|
|
./$(ENGINETEST)
|
|
|
|
|
2000-03-14 03:24:39 +08:00
|
|
|
test_ssl: keyU.ss certU.ss certCA.ss
|
1998-12-21 18:52:47 +08:00
|
|
|
@echo "test SSL protocol"
|
2000-03-14 03:24:39 +08:00
|
|
|
@sh ./testssl keyU.ss certU.ss certCA.ss
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
test_ca:
|
2000-03-14 04:31:46 +08:00
|
|
|
@if ../apps/openssl no-rsa; then \
|
|
|
|
echo "skipping CA.sh test -- requires RSA"; \
|
|
|
|
else \
|
2000-03-14 03:24:39 +08:00
|
|
|
echo "Generate and certify a test certificate via the 'ca' program"; \
|
|
|
|
sh ./testca; \
|
|
|
|
fi
|
1998-12-21 18:52:47 +08:00
|
|
|
|
2000-10-15 04:09:54 +08:00
|
|
|
test_rd: #$(RDTEST)
|
|
|
|
@echo "test Rijndael"
|
|
|
|
#./$(RDTEST)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
1999-08-03 05:44:49 +08:00
|
|
|
$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 18:52:47 +08:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
2001-01-29 19:41:12 +08:00
|
|
|
rm -f .rnd tmp.bntest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
$(DLIBSSL):
|
|
|
|
(cd ../ssl; $(MAKE))
|
|
|
|
|
|
|
|
$(DLIBCRYPTO):
|
|
|
|
(cd ../crypto; $(MAKE))
|
|
|
|
|
1999-02-18 05:11:08 +08:00
|
|
|
$(RSATEST): $(RSATEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
$(BNTEST): $(BNTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(EXPTEST): $(EXPTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(IDEATEST): $(IDEATEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(MD2TEST): $(MD2TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(SHATEST): $(SHATEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(SHA1TEST): $(SHA1TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
$(RMDTEST): $(RMDTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
$(MDC2TEST): $(MDC2TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
2000-08-14 22:05:53 +08:00
|
|
|
$(MD4TEST): $(MD4TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
$(MD5TEST): $(MD5TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
$(HMACTEST): $(HMACTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
$(RC2TEST): $(RC2TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(BFTEST): $(BFTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
$(CASTTEST): $(CASTTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
$(RC4TEST): $(RC4TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
$(RC5TEST): $(RC5TEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
$(DESTEST): $(DESTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(RANDTEST): $(RANDTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(DHTEST): $(DHTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(DSATEST): $(DSATEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(METHTEST): $(METHTEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
|
|
|
$(SSLTEST): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO)
|
2000-12-01 06:53:34 +08:00
|
|
|
$(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
2000-10-27 05:07:28 +08:00
|
|
|
$(ENGINETEST): $(ENGINETEST).o $(DLIBCRYPTO)
|
|
|
|
$(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
2000-10-15 04:09:54 +08:00
|
|
|
#$(RDTEST).o: $(RDTEST).c
|
|
|
|
# $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(RDTEST).c
|
|
|
|
|
|
|
|
#$(RDTEST): $(RDTEST).o $(DLIBCRYPTO)
|
|
|
|
# $(CC) -o $(RDTEST) $(CFLAGS) $(RDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS)
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 22:32:48 +08:00
|
|
|
|
1999-04-24 06:50:50 +08:00
|
|
|
bftest.o: ../include/openssl/blowfish.h
|
1999-05-21 19:16:48 +08:00
|
|
|
bntest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
|
1999-04-24 06:50:50 +08:00
|
|
|
bntest.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
|
2000-06-13 20:59:38 +08:00
|
|
|
bntest.o: ../include/openssl/buffer.h ../include/openssl/cast.h
|
|
|
|
bntest.o: ../include/openssl/crypto.h ../include/openssl/des.h
|
|
|
|
bntest.o: ../include/openssl/dh.h ../include/openssl/dsa.h
|
|
|
|
bntest.o: ../include/openssl/e_os.h ../include/openssl/e_os2.h
|
|
|
|
bntest.o: ../include/openssl/err.h ../include/openssl/evp.h
|
|
|
|
bntest.o: ../include/openssl/idea.h ../include/openssl/lhash.h
|
2000-08-14 22:05:53 +08:00
|
|
|
bntest.o: ../include/openssl/md2.h ../include/openssl/md4.h
|
|
|
|
bntest.o: ../include/openssl/md5.h ../include/openssl/mdc2.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/pkcs7.h ../include/openssl/rand.h
|
|
|
|
bntest.o: ../include/openssl/rc2.h ../include/openssl/rc4.h
|
2000-11-13 06:32:18 +08:00
|
|
|
bntest.o: ../include/openssl/rc5.h ../include/openssl/rd_fst.h
|
2000-10-15 04:09:54 +08:00
|
|
|
bntest.o: ../include/openssl/rijndael.h ../include/openssl/ripemd.h
|
2000-08-14 22:05:53 +08:00
|
|
|
bntest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
|
|
|
|
bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
bntest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
|
|
|
|
bntest.o: ../include/openssl/x509_vfy.h
|
1999-04-24 06:50:50 +08:00
|
|
|
casttest.o: ../include/openssl/cast.h
|
1999-05-15 21:38:48 +08:00
|
|
|
destest.o: ../include/openssl/des.h ../include/openssl/e_os2.h
|
1999-05-14 01:33:27 +08:00
|
|
|
destest.o: ../include/openssl/opensslconf.h
|
1999-04-24 06:50:50 +08:00
|
|
|
dhtest.o: ../include/openssl/bio.h ../include/openssl/bn.h
|
|
|
|
dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
|
|
|
|
dhtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
|
2000-01-24 07:41:49 +08:00
|
|
|
dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
|
1999-04-24 06:50:50 +08:00
|
|
|
dsatest.o: ../include/openssl/bio.h ../include/openssl/bn.h
|
1999-08-05 19:50:18 +08:00
|
|
|
dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
|
|
|
|
dsatest.o: ../include/openssl/dsa.h ../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
dsatest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
|
|
|
|
dsatest.o: ../include/openssl/opensslv.h ../include/openssl/rand.h
|
|
|
|
dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
dsatest.o: ../include/openssl/symhacks.h
|
2000-10-27 05:07:28 +08:00
|
|
|
enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
|
|
|
|
enginetest.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
|
|
|
|
enginetest.o: ../include/openssl/cast.h ../include/openssl/crypto.h
|
|
|
|
enginetest.o: ../include/openssl/des.h ../include/openssl/dh.h
|
|
|
|
enginetest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
|
|
|
|
enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h
|
|
|
|
enginetest.o: ../include/openssl/evp.h ../include/openssl/idea.h
|
|
|
|
enginetest.o: ../include/openssl/lhash.h ../include/openssl/md2.h
|
|
|
|
enginetest.o: ../include/openssl/md4.h ../include/openssl/md5.h
|
|
|
|
enginetest.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h
|
|
|
|
enginetest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
|
|
|
|
enginetest.o: ../include/openssl/opensslv.h ../include/openssl/rand.h
|
|
|
|
enginetest.o: ../include/openssl/rc2.h ../include/openssl/rc4.h
|
2000-11-13 06:32:18 +08:00
|
|
|
enginetest.o: ../include/openssl/rc5.h ../include/openssl/rd_fst.h
|
2000-10-27 05:07:28 +08:00
|
|
|
enginetest.o: ../include/openssl/rijndael.h ../include/openssl/ripemd.h
|
|
|
|
enginetest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
|
|
|
|
enginetest.o: ../include/openssl/sha.h ../include/openssl/stack.h
|
|
|
|
enginetest.o: ../include/openssl/symhacks.h
|
1999-04-24 06:50:50 +08:00
|
|
|
exptest.o: ../include/openssl/bio.h ../include/openssl/bn.h
|
|
|
|
exptest.o: ../include/openssl/crypto.h ../include/openssl/err.h
|
2000-06-13 20:59:38 +08:00
|
|
|
exptest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
|
|
|
|
exptest.o: ../include/openssl/opensslv.h ../include/openssl/rand.h
|
|
|
|
exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
exptest.o: ../include/openssl/symhacks.h
|
1999-04-24 06:50:50 +08:00
|
|
|
hmactest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
|
|
|
|
hmactest.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
|
|
|
|
hmactest.o: ../include/openssl/cast.h ../include/openssl/crypto.h
|
|
|
|
hmactest.o: ../include/openssl/des.h ../include/openssl/dh.h
|
1999-05-15 21:38:48 +08:00
|
|
|
hmactest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
|
1999-05-14 01:33:27 +08:00
|
|
|
hmactest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
|
|
|
|
hmactest.o: ../include/openssl/idea.h ../include/openssl/md2.h
|
2000-08-14 22:05:53 +08:00
|
|
|
hmactest.o: ../include/openssl/md4.h ../include/openssl/md5.h
|
|
|
|
hmactest.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h
|
|
|
|
hmactest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
|
|
|
|
hmactest.o: ../include/openssl/opensslv.h ../include/openssl/rc2.h
|
|
|
|
hmactest.o: ../include/openssl/rc4.h ../include/openssl/rc5.h
|
2000-11-13 06:32:18 +08:00
|
|
|
hmactest.o: ../include/openssl/rd_fst.h ../include/openssl/rijndael.h
|
2000-08-14 22:05:53 +08:00
|
|
|
hmactest.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
|
|
|
|
hmactest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
|
2000-09-07 16:46:51 +08:00
|
|
|
hmactest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
|
1999-04-24 06:50:50 +08:00
|
|
|
ideatest.o: ../include/openssl/idea.h ../include/openssl/opensslconf.h
|
|
|
|
md2test.o: ../include/openssl/md2.h ../include/openssl/opensslconf.h
|
2000-08-14 22:05:53 +08:00
|
|
|
md4test.o: ../include/openssl/md4.h
|
1999-04-24 06:50:50 +08:00
|
|
|
md5test.o: ../include/openssl/md5.h
|
1999-05-15 21:38:48 +08:00
|
|
|
mdc2test.o: ../include/openssl/des.h ../include/openssl/e_os2.h
|
1999-05-14 01:33:27 +08:00
|
|
|
mdc2test.o: ../include/openssl/mdc2.h ../include/openssl/opensslconf.h
|
1999-04-24 06:50:50 +08:00
|
|
|
randtest.o: ../include/openssl/rand.h
|
|
|
|
rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h
|
|
|
|
rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h
|
|
|
|
rc5test.o: ../include/openssl/rc5.h
|
|
|
|
rmdtest.o: ../include/openssl/ripemd.h
|
2000-06-13 20:59:38 +08:00
|
|
|
rsa_test.o: ../include/openssl/bio.h ../include/openssl/bn.h
|
|
|
|
rsa_test.o: ../include/openssl/crypto.h ../include/openssl/e_os.h
|
|
|
|
rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
|
|
|
|
rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
|
2000-01-18 23:08:49 +08:00
|
|
|
rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/rand.h
|
2000-01-24 07:41:49 +08:00
|
|
|
rsa_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
rsa_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
|
1999-04-24 06:50:50 +08:00
|
|
|
sha1test.o: ../include/openssl/sha.h
|
|
|
|
shatest.o: ../include/openssl/sha.h
|
1999-05-21 19:16:48 +08:00
|
|
|
ssltest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
|
1999-04-24 06:50:50 +08:00
|
|
|
ssltest.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
|
|
|
|
ssltest.o: ../include/openssl/buffer.h ../include/openssl/cast.h
|
2000-06-13 20:59:38 +08:00
|
|
|
ssltest.o: ../include/openssl/comp.h ../include/openssl/crypto.h
|
|
|
|
ssltest.o: ../include/openssl/des.h ../include/openssl/dh.h
|
|
|
|
ssltest.o: ../include/openssl/dsa.h ../include/openssl/e_os.h
|
|
|
|
ssltest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
|
|
|
|
ssltest.o: ../include/openssl/evp.h ../include/openssl/idea.h
|
2000-12-29 08:19:12 +08:00
|
|
|
ssltest.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
|
|
|
|
ssltest.o: ../include/openssl/md2.h ../include/openssl/md4.h
|
|
|
|
ssltest.o: ../include/openssl/md5.h ../include/openssl/mdc2.h
|
|
|
|
ssltest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
|
|
|
|
ssltest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
|
|
|
|
ssltest.o: ../include/openssl/pem.h ../include/openssl/pem2.h
|
|
|
|
ssltest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
|
|
|
|
ssltest.o: ../include/openssl/rc2.h ../include/openssl/rc4.h
|
|
|
|
ssltest.o: ../include/openssl/rc5.h ../include/openssl/rd_fst.h
|
|
|
|
ssltest.o: ../include/openssl/rijndael.h ../include/openssl/ripemd.h
|
|
|
|
ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
|
|
|
|
ssltest.o: ../include/openssl/sha.h ../include/openssl/ssl.h
|
|
|
|
ssltest.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h
|
|
|
|
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
|