summaryrefslogtreecommitdiff
path: root/fipstest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-05 18:59:28 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-05 18:59:28 -0500
commitbfc2b5f02d2bdb375186de69d50904821ad5cbc3 (patch)
tree439a036fe48652fdf92405b639e3023673dbf07d /fipstest.cpp
parent9624f928f8bc3deab24d1b1a85442c6f4882cf5a (diff)
downloadcryptopp-git-bfc2b5f02d2bdb375186de69d50904821ad5cbc3.tar.gz
Fix double leading "0x" prefix (GH #557)
Thanks to John McCabe for reporting
Diffstat (limited to 'fipstest.cpp')
-rw-r--r--fipstest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fipstest.cpp b/fipstest.cpp
index 3a1d9070..d2ece6df 100644
--- a/fipstest.cpp
+++ b/fipstest.cpp
@@ -328,14 +328,14 @@ bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModule
if (h == g_BaseAddressOfMAC)
{
std::ostringstream oss;
- oss << "Crypto++ DLL loaded at base address 0x" << std::hex << h << ".\n";
+ oss << "Crypto++ DLL loaded at base address " << std::hex << h << ".\n";
OutputDebugStringA(oss.str().c_str());
}
else
{
std::ostringstream oss;
- oss << "Crypto++ DLL integrity check may fail. Expected module base address is 0x";
- oss << std::hex << g_BaseAddressOfMAC << ", but module loaded at 0x" << h << ".\n";
+ oss << "Crypto++ DLL integrity check may fail. Expected module base address is ";
+ oss << std::hex << g_BaseAddressOfMAC << ", but module loaded at " << h << ".\n";
OutputDebugStringA(oss.str().c_str());
}
#endif