aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/pkcs10.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-04 15:57:31 -0500
committerJack Lloyd <[email protected]>2017-12-04 15:57:31 -0500
commit5022191613a44f6d603294abfa79b2faf5a175ed (patch)
treefa237089991bd80bdef354c6c2bd639f69da5ac1 /src/lib/x509/pkcs10.cpp
parent697fdc8fcb7f4ada4699ccad80def4673270d133 (diff)
Need binary IO for Windows
Diffstat (limited to 'src/lib/x509/pkcs10.cpp')
-rw-r--r--src/lib/x509/pkcs10.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/pkcs10.cpp b/src/lib/x509/pkcs10.cpp
index a17ffeb0f..1f7e915ff 100644
--- a/src/lib/x509/pkcs10.cpp
+++ b/src/lib/x509/pkcs10.cpp
@@ -47,7 +47,7 @@ PKCS10_Request::PKCS10_Request(const std::vector<uint8_t>& vec)
#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM)
PKCS10_Request::PKCS10_Request(const std::string& fsname)
{
- DataSource_Stream src(fsname);
+ DataSource_Stream src(fsname, true);
load_data(src);
}
#endif