diff options
author | Jack Lloyd <[email protected]> | 2015-10-26 08:55:34 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-10-26 08:55:34 -0400 |
commit | f0967b61945326de6244801f5b1276ac36d7a30e (patch) | |
tree | 871c0adef9bea358707e208761a7152396c3fd14 /src/tests | |
parent | 3e44cbed78eb528daa38f9837d67aa0471ee7bd2 (diff) |
Disable two tests from x509test which no longer have correct dates.
These will need to be regen'ed with corrected values.
Fix for minimized builds.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/data/x509test/expected.txt | 6 | ||||
-rw-r--r-- | src/tests/nist_x509.cpp | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/tests/data/x509test/expected.txt b/src/tests/data/x509test/expected.txt index 573df4fe7..67e2937eb 100644 --- a/src/tests/data/x509test/expected.txt +++ b/src/tests/data/x509test/expected.txt @@ -12,8 +12,6 @@ InvalidNameAltName.pem:Certificate does not match provided name InvalidNameAltNameWithSubj.pem:Certificate does not match provided name InvalidNotAfter.pem:Certificate has expired InvalidNotAfterChained.pem:Certificate has expired -InvalidNotBefore.pem:Certificate is not yet valid -InvalidNotBeforeChained.pem:Certificate is not yet valid InvalidSelfSign.pem:Cannot establish trust InvalidWildcardAll.pem:Certificate does not match provided name InvalidWildcardAllAltName.pem:Certificate does not match provided name @@ -33,6 +31,10 @@ ValidChained.pem:Verified ValidIntCALen.pem:Verified ValidWildcard.pem:Verified +# Need to fix date settings in x509test and regen +#InvalidNotBefore.pem:Certificate is not yet valid +#InvalidNotBeforeChained.pem:Certificate is not yet valid + # Missing name constraints InvalidNameConstraintExclude.pem:Certificate issuer not found InvalidNameConstraintPermit.pem:Certificate issuer not found diff --git a/src/tests/nist_x509.cpp b/src/tests/nist_x509.cpp index 0ce74334f..65e154293 100644 --- a/src/tests/nist_x509.cpp +++ b/src/tests/nist_x509.cpp @@ -376,6 +376,7 @@ std::map<size_t, Path_Validation_Result::Code> get_expected() #else +size_t test_x509_x509test() { return 0; } size_t test_nist_x509() { return 0; } #endif |