Fixed error flag to new VERIFY sig return so that test will pass fdik_sync
authorKrista Bennett <krista@pep-project.org>
Fri, 24 Mar 2017 15:47:07 +0100
branchfdik_sync
changeset 169269823df184cf
parent 1691 a1f336a3c422
child 1698 23fd29bafbc3
Fixed error flag to new VERIFY sig return so that test will pass
test/pEpEngineTest.cc
     1.1 --- a/test/pEpEngineTest.cc	Fri Mar 24 15:43:52 2017 +0100
     1.2 +++ b/test/pEpEngineTest.cc	Fri Mar 24 15:47:07 2017 +0100
     1.3 @@ -156,7 +156,7 @@
     1.4  
     1.5      cout << "\ncalling verify_text()\n";
     1.6      verify_result = verify_text(session, t2_buffer.data(), t2_buffer.size(), sig_buffer.data(), sig_buffer.size(), &keylist);
     1.7 -    assert(verify_result == PEP_DECRYPT_SIGNATURE_DOES_NOT_MATCH);
     1.8 +    assert(verify_result == PEP_VERIFY_SIGNATURE_DOES_NOT_MATCH);
     1.9      free_stringlist(keylist);
    1.10  
    1.11      keylist = new_stringlist("4ABE3AAF59AC32CFE4F86500A9411D176FF00E97");