added dump key if still encrypted for test 3

This commit is contained in:
TLINDEN
2015-07-17 21:32:16 +02:00
parent 47614875ea
commit 95ab61b3cb

View File

@@ -138,6 +138,12 @@ void test3(PcpContext *ptx) {
// signature test // signature test
Key A = Key(ptx, "a", "alicia", "alicia@local"); Key A = Key(ptx, "a", "alicia", "alicia@local");
A.decrypt("a"); A.decrypt("a");
// travis-ci debugging, i just dont get it
if(A.is_encrypted()) {
pcp_dumpkey(A.K);
}
PubKey PA = A.get_public(); PubKey PA = A.get_public();
string message = "hallo baby"; string message = "hallo baby";