diff options
author | weidai <weidai11@users.noreply.github.com> | 2005-01-20 04:19:35 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2005-01-20 04:19:35 +0000 |
commit | b3924f2108c0b0825060e91f6fde8202ce35624d (patch) | |
tree | 1f61e8bf59450a028415e5a3f08565a6ceb86afe /polynomi.cpp | |
parent | 79e29d0de49969af44474cc890cffd7b1d6b1a4b (diff) | |
download | cryptopp-git-b3924f2108c0b0825060e91f6fde8202ce35624d.tar.gz |
changes done for FIPS-140 lab code drop
Diffstat (limited to 'polynomi.cpp')
-rw-r--r-- | polynomi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polynomi.cpp b/polynomi.cpp index be39bce4..cca20732 100644 --- a/polynomi.cpp +++ b/polynomi.cpp @@ -7,7 +7,7 @@ #include "polynomi.h" #include "secblock.h" -#include <strstream> // can't use <sstream> because GCC 2.95.2 doesn't have it +#include <sstream> #include <iostream> NAMESPACE_BEGIN(CryptoPP) @@ -23,7 +23,7 @@ void PolynomialOver<T>::Randomize(RandomNumberGenerator &rng, const Randomizatio template <class T> void PolynomialOver<T>::FromStr(const char *str, const Ring &ring) { - std::istrstream in((char *)str); + std::istringstream in((char *)str); bool positive = true; CoefficientType coef; unsigned int power; |