From 8fa0099ce0f2f488ca4c5046c6d019125d1d3b68 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 19 Mar 2010 17:56:53 +0000 Subject: If check against copy fails, print algo name --- checks/x509.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checks/x509.cpp') diff --git a/checks/x509.cpp b/checks/x509.cpp index 96d99eee2..59bc8444b 100644 --- a/checks/x509.cpp +++ b/checks/x509.cpp @@ -119,7 +119,7 @@ u32bit check_against_copy(const Private_Key& orig, if(orig_id != pub_id || orig_id != priv_id || orig_id != priv_enc_id) { - std::cout << "Failed copy check\n"; + std::cout << "Failed copy check for " << orig.algo_name() << "\n"; return 1; } return 0; -- cgit v1.2.3