diff options
author | lloyd <[email protected]> | 2006-12-14 11:58:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-12-14 11:58:03 +0000 |
commit | 05b4521605422f7d31e558a8da6b2d63937ede30 (patch) | |
tree | 293467d72064fe44e6e7a39cc08f48930b7daf74 /misc/nist_tests/x509test.cpp | |
parent | 184dd08508f71c96b539ae73ef32586490e48447 (diff) |
Rename the files in the NIST X.509 certificate path validation suite to
be shorter, with no embedded spaces.
Also update the C++ test program to look for the new filenames.
Diffstat (limited to 'misc/nist_tests/x509test.cpp')
-rw-r--r-- | misc/nist_tests/x509test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/nist_tests/x509test.cpp b/misc/nist_tests/x509test.cpp index 8228443e2..7f4fe94ee 100644 --- a/misc/nist_tests/x509test.cpp +++ b/misc/nist_tests/x509test.cpp @@ -60,14 +60,14 @@ int main() for(size_t k = 0; k != all_files.size(); k++) { const std::string current = all_files[k]; - if(current.find("Intermediate Certificate") != std::string::npos) + if(current.find("int") != std::string::npos && + current.find(".crt") != std::string::npos) certs.push_back(test_dir + current); - else if(current.find("Trust Anchor CP") != std::string::npos) + else if(current.find("root.crt") != std::string::npos) root_cert = test_dir + current; - else if(current.find("End Certificate") != std::string::npos && - current.find(".crtx") == std::string::npos) + else if(current.find("end.crt") != std::string::npos) to_verify = test_dir + current; - else if(current.find("CRL") != std::string::npos) + else if(current.find(".crl") != std::string::npos) crls.push_back(test_dir + current); } |