aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-02 20:01:24 +0000
committerlloyd <[email protected]>2010-03-02 20:01:24 +0000
commita4578ff53ffa39b71032765cd02ebdd5ea6cb6eb (patch)
treed42d5af982a9b39414bcc47cceef77e974ea52c6 /checks
parentb43cc46149b6d653fb403b2f4c6b28483b6b975a (diff)
Make CVC tests a bit more verbose
Diffstat (limited to 'checks')
-rw-r--r--checks/cvc_tests.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/checks/cvc_tests.cpp b/checks/cvc_tests.cpp
index 26ead3216..9d7b7290b 100644
--- a/checks/cvc_tests.cpp
+++ b/checks/cvc_tests.cpp
@@ -1,10 +1,9 @@
-/******************************************************
-* CVC EAC1.1 tests *
-* *
-* (C) 2008 Falko Strenzke *
-* 2008 Jack Lloyd *
-******************************************************/
+/*
+* CVC EAC1.1 tests
+*
+* (C) 2008 Falko Strenzke ([email protected])
+* 2008 Jack Lloyd
+*/
#include "validate.h"
#include <botan/build.h>
@@ -79,7 +78,7 @@ bool helper_files_equal(std::string const& file_path1, std::string const& file_p
void test_enc_gen_selfsigned(RandomNumberGenerator& rng)
{
- std::cout << "." << std::flush;
+ std::cout << '.' << std::flush;
EAC1_1_CVC_Options opts;
//opts.cpi = 0;
@@ -580,6 +579,8 @@ void test_cvc_chain(RandomNumberGenerator& rng)
u32bit do_cvc_tests(Botan::RandomNumberGenerator& rng)
{
+ std::cout << "Testing CVC: " << std::flush;
+
test_enc_gen_selfsigned(rng);
test_enc_gen_req(rng);
test_cvc_req_ext(rng);
@@ -592,6 +593,7 @@ u32bit do_cvc_tests(Botan::RandomNumberGenerator& rng)
test_eac_str_illegal_values(rng);
test_tmp_eac_str_enc(rng);
test_cvc_chain(rng);
+ std::cout << std::endl;
return 0;
}