diff options
Diffstat (limited to 'doc/examples/dsa_sign.cpp')
-rw-r--r-- | doc/examples/dsa_sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/dsa_sign.cpp b/doc/examples/dsa_sign.cpp index ea23907cf..5f02c0dc1 100644 --- a/doc/examples/dsa_sign.cpp +++ b/doc/examples/dsa_sign.cpp @@ -32,7 +32,7 @@ int main(int argc, char* argv[]) try { std::string passphrase(argv[3]); - 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; |