diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-05-15 20:14:22 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-05-15 20:14:22 -0400 |
commit | 7fd5c13e064c6d1d27e9e9f2e739f369fb8f9a04 (patch) | |
tree | 01d7d8729e841f4f8a793a97b0905c0618aa4a14 /datatest.cpp | |
parent | a61c97f7ee720ed13684e55e604b5f29a45ccfb3 (diff) | |
download | cryptopp-git-7fd5c13e064c6d1d27e9e9f2e739f369fb8f9a04.tar.gz |
Fix PutDecodedDatumInto on OS X
Diffstat (limited to 'datatest.cpp')
-rw-r--r-- | datatest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datatest.cpp b/datatest.cpp index 315300dd..dcf2140b 100644 --- a/datatest.cpp +++ b/datatest.cpp @@ -119,7 +119,7 @@ void PutDecodedDatumInto(const TestData &data, const char *name, BufferedTransfo // Use like this (from Threefish test vectors, which supplies byte-reversed values):
// Key: ce BC2560EFC6BBA2B1 E3361F162238EB40 FB8631EE0ABBD175 7B9479D4C5479ED1
// The 'ce' means BC2560EFC6BBA2B1 will be processed into B1A2BBC6EF6025BC.
- if (s1.length() >= 2 && s1.substr(0,2) == "ce")
+ if (s1.length() >= 3 && s1.substr(0,2) == "ce ")
{
word64 value;
std::istringstream iss(s1.substr(3));
|