Nicer names for test files.

git-svn-id: file:///svn/unbound/trunk@1755 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-08-11 10:33:56 +00:00
parent f015b01072
commit f3579ce5f2
13 changed files with 14 additions and 8 deletions

View File

@ -1,6 +1,7 @@
11 August 2009: Wouter
- Check for openssl compatible with gost if enabled.
- updated unit test for GOST=211 code.
Nicer naming of test files.
7 August 2009: Wouter
- call OPENSSL_config() in unbound and unit test so that the

View File

@ -475,21 +475,21 @@ verify_test()
verifytest_file("testdata/test_signatures.7", "20070829144150");
verifytest_file("testdata/test_signatures.8", "20070829144150");
#if defined(HAVE_EVP_SHA256) && defined(USE_SHA2)
verifytest_file("testdata/test_signatures.9", "20070829144150");
verifytest_file("testdata/test_signatures.11", "20070829144150");
verifytest_file("testdata/test_signatures.14", "20090101000000");
verifytest_file("testdata/test_sigs.rsasha256", "20070829144150");
verifytest_file("testdata/test_sigs.sha1_and_256", "20070829144150");
verifytest_file("testdata/test_sigs.rsasha256_draft", "20090101000000");
#endif
#if defined(HAVE_EVP_SHA512) && defined(USE_SHA2)
verifytest_file("testdata/test_signatures.10", "20070829144150");
verifytest_file("testdata/test_sigs.rsasha512_draft", "20070829144150");
#endif
verifytest_file("testdata/test_signatures.12", "20090107100022");
verifytest_file("testdata/test_signatures.13", "20080414005004");
verifytest_file("testdata/test_sigs.hinfo", "20090107100022");
verifytest_file("testdata/test_sigs.revoked", "20080414005004");
#ifdef USE_GOST
if(ldns_key_EVP_load_gost_id())
verifytest_file("testdata/test_signatures.15", "20090807060504");
verifytest_file("testdata/test_sigs.gost", "20090807060504");
else printf("Warning: skipped GOST, openssl does not provide gost.\n");
#endif
dstest_file("testdata/test_ds_sig.1");
dstest_file("testdata/test_ds.sha1");
nsectest();
nsec3_hash_test("testdata/test_nsec3_hash.1");
}

1
testdata/Kexample.com.+211+41891.ds vendored Normal file
View File

@ -0,0 +1 @@
example.com. 3600 IN DS 41891 211 203 2de06cf7fb43c0fe0ec74173260e4575f643eb66070cac006c341fe2a1abd083 ; xerev-byraz-lavyg-fabuz-vyfis-lybal-finyb-vocul-hetug-fapik-kucob-syreb-biruf-goliv-dumap-rogom-foxox

1
testdata/Kexample.com.+211+41891.key vendored Normal file
View File

@ -0,0 +1 @@
example.com. 3600 IN DNSKEY 256 3 211 e6GeTsfJnBq4QeL4eNS3SUOYvjFW59ClXtWtAlNgJHcG6damdpIUEyWdMDhZBLJoFNsH4IF06VPK6e+OSA1VGw== ;{id = 41891 (zsk), size = 512b}

View File

@ -0,0 +1,3 @@
Private-key-format: v1.2
Algorithm: 211 (GOST)
MEUCAQAwHAYGKoUDAgITMBIGByqFAwICIwEGByqFAwICHgEEIgIgZdfQ+s3ASjjFsne42OdGYxav0QKoL3p/wOX/3kySQ3Q=