summaryrefslogtreecommitdiff
path: root/files.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2005-01-20 04:19:35 +0000
committerweidai <weidai11@users.noreply.github.com>2005-01-20 04:19:35 +0000
commitb3924f2108c0b0825060e91f6fde8202ce35624d (patch)
tree1f61e8bf59450a028415e5a3f08565a6ceb86afe /files.cpp
parent79e29d0de49969af44474cc890cffd7b1d6b1a4b (diff)
downloadcryptopp-git-b3924f2108c0b0825060e91f6fde8202ce35624d.tar.gz
changes done for FIPS-140 lab code drop
Diffstat (limited to 'files.cpp')
-rw-r--r--files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.cpp b/files.cpp
index 59d05d6d..97731bc7 100644
--- a/files.cpp
+++ b/files.cpp
@@ -95,7 +95,7 @@ unsigned int FileStore::CopyRangeTo2(BufferedTransformation &target, unsigned lo
if (begin == 0 && end == 1)
{
int result = m_stream->peek();
- if (result == EOF) // GCC workaround: 2.95.2 doesn't have char_traits<char>::eof()
+ if (result == char_traits<char>::eof())
return 0;
else
{