summaryrefslogtreecommitdiff
path: root/secblock.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-09 12:29:57 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-09 12:29:57 -0400
commitd90f9aadd976b433ad8ad3a6f3e7fd5563936afe (patch)
tree2f66fdf3c9b0855fca55a6b33fcac1acd461adeb /secblock.h
parent36457361374f7dcef16ed619f4f4a979c97d6e1e (diff)
downloadcryptopp-git-d90f9aadd976b433ad8ad3a6f3e7fd5563936afe.tar.gz
Whitespace check-in
Diffstat (limited to 'secblock.h')
-rw-r--r--secblock.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/secblock.h b/secblock.h
index 4e9062d0..1f11354e 100644
--- a/secblock.h
+++ b/secblock.h
@@ -911,7 +911,6 @@ public:
New(count);
for (size_t i=0; i<count; ++i)
m_ptr[i] = value;
-
m_mark = ELEMS_MAX;
}
@@ -954,7 +953,6 @@ public:
Grow(m_size+len);
if (m_ptr && ptr) // GCC analyzer warning
memcpy_s(m_ptr+oldSize, (m_size-oldSize)*sizeof(T), ptr, len*sizeof(T));
-
m_mark = ELEMS_MAX;
}
@@ -985,7 +983,6 @@ public:
if (m_ptr) // GCC analyzer warning
memmove_s(m_ptr+oldSize, (m_size-oldSize)*sizeof(T), m_ptr, oldSize*sizeof(T));
}
-
m_mark = ELEMS_MAX;
}
@@ -1008,7 +1005,6 @@ public:
Grow(m_size+count);
for (size_t i=oldSize; i<oldSize+count; ++i)
m_ptr[i] = value;
-
m_mark = ELEMS_MAX;
}
@@ -1055,7 +1051,7 @@ public:
/// \since Crypto++ 2.0
SecBlock<T, A>& operator+=(const SecBlock<T, A> &t)
{
- // Assign guards for overflow
+ // Append guards for overflow
Append(t);
return *this;
}