summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Readme.txt2
-rw-r--r--datatest.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Readme.txt b/Readme.txt
index c7e1c65..01f325a 100644
--- a/Readme.txt
+++ b/Readme.txt
@@ -244,7 +244,7 @@ History
5.1 - added PSS padding and changed PSSR to track IEEE P1363a draft standard
- added blinding for RSA and Rabin to defend against timing attacks
- against decryption operations (required API changes for decryption)
+ on decryption operations (required API changes for decryption)
- fixed a bug in CBC and ECB modes with processing non-aligned data
- fixed standard conformance bugs in DLIES (DHAES mode) and RW/EMSA2
signature scheme (these fixes are not backwards compatible)
diff --git a/datatest.cpp b/datatest.cpp
index 5d84c01..50b26fe 100644
--- a/datatest.cpp
+++ b/datatest.cpp
@@ -281,7 +281,7 @@ void TestDigestOrMAC(TestData &v, bool testDigest)
bool GetField(std::istream &is, std::string &name, std::string &value)
{
- name.clear();
+ name.resize(0); // GCC workaround: 2.95.3 doesn't have clear()
is >> name;
if (name.empty())
return false;
@@ -295,7 +295,7 @@ bool GetField(std::istream &is, std::string &name, std::string &value)
// VC60 workaround: getline bug
char buffer[128];
- value.clear();
+ value.resize(0); // GCC workaround: 2.95.3 doesn't have clear()
bool continueLine;
do