From 95ab61b3cb0a58e8dead48ff0bd2dba773486447 Mon Sep 17 00:00:00 2001 From: TLINDEN Date: Fri, 17 Jul 2015 21:32:16 +0200 Subject: [PATCH] added dump key if still encrypted for test 3 --- tests/cpptest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/cpptest.cpp b/tests/cpptest.cpp index 87cd599..dce1749 100644 --- a/tests/cpptest.cpp +++ b/tests/cpptest.cpp @@ -138,6 +138,12 @@ void test3(PcpContext *ptx) { // signature test Key A = Key(ptx, "a", "alicia", "alicia@local"); A.decrypt("a"); + + // travis-ci debugging, i just dont get it + if(A.is_encrypted()) { + pcp_dumpkey(A.K); + } + PubKey PA = A.get_public(); string message = "hallo baby";