diff --git a/cryptest.vcxproj.user b/cryptest.vcxproj.user index d853dc37..4b2caa7e 100644 --- a/cryptest.vcxproj.user +++ b/cryptest.vcxproj.user @@ -1,30 +1,6 @@  - v 121 - - - WindowsLocalDebugger - - - WindowsLocalDebugger - - - WindowsLocalDebugger - - - WindowsLocalDebugger - - - WindowsLocalDebugger - - - WindowsLocalDebugger - - - WindowsLocalDebugger - - - WindowsLocalDebugger + v \ No newline at end of file diff --git a/validat6.cpp b/validat6.cpp index 16fd9713..0b6070d5 100644 --- a/validat6.cpp +++ b/validat6.cpp @@ -196,6 +196,15 @@ bool AuthenticatedKeyAgreementWithRolesValidate(AuthenticatedKeyAgreementDomain if (memcmp(val1.begin(), val2.begin(), initiator.AgreedValueLength())) { std::cout << "FAILED authenticated agreed values not equal" << std::endl; + + std::cout << "Initiator: "; + StringSource(val1.begin(), val1.size(), true, new HexEncoder(new FileSink(std::cout))); + std::cout << "\n"; + + std::cout << "Recipient: "; + StringSource(val2.begin(), val2.size(), true, new HexEncoder(new FileSink(std::cout))); + std::cout << "\n"; + return false; }