aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
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/tests
parent697fdc8fcb7f4ada4699ccad80def4673270d133 (diff)
Need binary IO for Windows
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/unit_x509.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp
index 5fbea2f4f..da5439a05 100644
--- a/src/tests/unit_x509.cpp
+++ b/src/tests/unit_x509.cpp
@@ -776,7 +776,7 @@ Test::Result test_x509_decode_list()
{
Test::Result result("X509_Certificate list decode");
- Botan::DataSource_Stream input(Test::data_file("x509/misc/cert_seq.der"));
+ Botan::DataSource_Stream input(Test::data_file("x509/misc/cert_seq.der"), true);
Botan::BER_Decoder dec(input);
std::vector<Botan::X509_Certificate> certs;