diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-10-02 18:03:30 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-10-02 18:03:30 -0400 |
commit | e3c4ccb0fcf730e6139eb8048d36ce58b4da48f1 (patch) | |
tree | 2f88e3fb702ac3eb84bc71589dff2ed7b95b9797 /fipstest.cpp | |
parent | 578b0e2a07ce9ee4230e5492eba3fe0ed5f93c55 (diff) | |
download | cryptopp-git-e3c4ccb0fcf730e6139eb8048d36ce58b4da48f1.tar.gz |
Add newline to OutputDebugString (Issue 314)
Diffstat (limited to 'fipstest.cpp')
-rw-r--r-- | fipstest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fipstest.cpp b/fipstest.cpp index 1749598a..1c2fe1e6 100644 --- a/fipstest.cpp +++ b/fipstest.cpp @@ -334,9 +334,9 @@ bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModule {
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;
+ oss << std::hex << g_BaseAddressOfMAC << ", but module loaded at 0x" << h << "\n";
#ifdef CRYPTOPP_WIN32_AVAILABLE
- OutputDebugStringA(oss.str().c_str());
+ OutputDebugString(oss.str().c_str());
#endif
}
|