aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/dsa_ver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/dsa_ver.cpp')
-rw-r--r--doc/examples/dsa_ver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/dsa_ver.cpp b/doc/examples/dsa_ver.cpp
index b30208559..a666259c1 100644
--- a/doc/examples/dsa_ver.cpp
+++ b/doc/examples/dsa_ver.cpp
@@ -47,7 +47,7 @@ int main(int argc, char* argv[])
Botan::LibraryInitializer init;
- std::ifstream message(argv[2]);
+ std::ifstream message(argv[2], std::ios::binary);
if(!message)
{
std::cout << "Couldn't read the message file." << std::endl;