openssl/test
Rich Salz b51bce9420 Add and use OPENSSL_zalloc
There are many places (nearly 50) where we malloc and then memset.
Add an OPENSSL_zalloc routine to encapsulate that.
(Missed one conversion; thanks Richard)
Also fixes GH328

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-09-02 22:05:37 -04:00
..
certs Add test for CVE-2015-1793 2015-07-07 21:57:11 +01:00
ocsp-tests
smime-certs
bctest
bctest.com
bftest.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
bntest.c BN_mod_exp_mont_consttime: check for zero modulus. 2015-08-31 19:25:59 +02:00
bntest.com
CAss.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
CAssdh.cnf
CAssdsa.cnf
CAssrsa.cnf
casttest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
CAtsa.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
clean_test.com
clienthellotest.c GH354: Memory leak fixes 2015-08-28 11:18:04 -04:00
cms-examples.pl
cms-test.pl Fix ECDH detection, add ECDH keyid test. 2015-04-10 18:51:52 +01:00
conftest.c No fprintf in the txt_db component 2015-06-09 12:39:08 -04:00
constant_time_test.c Identify and move OpenSSL internal header files 2015-05-14 15:13:49 +02:00
destest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
dhtest.c more OSSL_NELEM cases 2015-05-04 13:03:49 +01:00
dsatest.c free NULL cleanup 7 2015-04-30 21:37:06 -04:00
dummytest.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ecdhtest.c free null cleanup finale 2015-05-01 10:02:07 -04:00
ecdsatest.c Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
ectest.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:43:53 +01:00
enginetest.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
evp_extra_test.c free null cleanup finale 2015-05-01 10:02:07 -04:00
evp_test.c Add PBE tests. 2015-05-26 13:04:13 +01:00
evptests.txt More test cases. 2015-08-24 15:12:52 +01:00
exptest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
gost2814789test.c GH354: Memory leak fixes 2015-08-28 11:18:04 -04:00
heartbeat_test.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
hmactest.c RT3856: Fix memory leaks in test code 2015-06-23 07:59:15 -04:00
ideatest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
igetest.c more OSSL_NELEM cases 2015-05-04 13:03:49 +01:00
jpaketest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
Makefile Add NewSessionTicket test suite 2015-08-26 10:38:02 +01:00
maketests.com Catch up the VMS build. 2015-03-05 18:20:06 +01:00
md2test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
md4test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
md5test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
mdc2test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
methtest.c More comment realignment 2015-01-22 09:20:10 +00:00
p5_crpt2_test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
P1ss.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
P2ss.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
packettest.c PACKET: add methods for reading length-prefixed TLS vectors. 2015-08-26 13:25:48 +02:00
pkcs7-1.pem
pkcs7.pem
pkits-test.pl
r160test.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
randtest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rc2test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rc4test.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
rc5test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rmdtest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rsa_test.c RT 3493: fix RSA test 2015-09-01 20:01:24 +02:00
secmemtest.c More secure storage of key material. 2015-06-23 17:09:35 -04:00
serverinfo.pem
sha1test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
sha256t.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
sha512t.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
smcont.txt
srptest.c RT3856: Fix memory leaks in test code 2015-06-23 07:59:15 -04:00
sslextensiontest.pl Add some libssl tests 2015-08-11 20:27:46 +01:00
sslsessionticktest.pl Add NewSessionTicket test suite 2015-08-26 10:38:02 +01:00
sslskewith0ptest.pl Add a test for 0 p value in anon DH SKE 2015-08-11 20:27:46 +01:00
ssltest.c Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
sslvertoltest.pl Add some libssl tests 2015-08-11 20:27:46 +01:00
Sssdsa.cnf
Sssrsa.cnf
tcrl Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tcrl.com
test_aesni
test_padlock
test_t4
test.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
testca Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
testca.com
testcrl.pem
testdsa.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testdsapub.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testec-p256.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testecpub-p256.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testenc Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
testenc.com Remove the special list-xxxx commands 2015-04-26 10:31:48 -04:00
testgen Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
testgen.com
testp7.pem
testreq2.pem
testrsa.pem
testrsapub.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
tests.com Catch up the VMS build. 2015-03-05 18:20:06 +01:00
testsid.pem Remove SSLv2 support 2014-12-04 11:55:03 +01:00
testss Create DSA and ECDSA certificates. 2015-09-02 21:22:44 +01:00
testss.com
testssl Extend ciphersuite test coverage. 2015-09-02 21:23:12 +01:00
testssl.com Enable DH tests 2015-05-27 17:22:56 +02:00
testsslproxy
testtsa test script cleanup 2015-04-10 10:06:17 -04:00
testtsa.com Drop CA.sh for CA.pl 2015-04-08 14:07:39 -04:00
testutil.c more OSSL_NELEM cases 2015-05-04 13:03:49 +01:00
testutil.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
testx509.pem
times
tkey Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tocsp Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tocsp.com VMS adjustments: 2015-01-30 14:43:57 +01:00
tpkcs7 Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tpkcs7.com
tpkcs7d Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tpkcs7d.com
treq Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
treq.com
trsa.com
tsid Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tsid.com
tverify.com
tx509 Remove obsolete key formats. 2015-07-16 01:06:48 -04:00
tx509.com
Uss.cnf Create DSA and ECDSA certificates. 2015-09-02 21:22:44 +01:00
v3-cert1.pem
v3-cert2.pem
v3nametest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
verify_extra_test.c Add test for CVE-2015-1793 2015-07-07 21:57:11 +01:00
VMSca-response.1
VMSca-response.2
wp_test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00