summaryrefslogtreecommitdiff
path: root/secblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'secblock.h')
-rw-r--r--secblock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/secblock.h b/secblock.h
index 3d309e6..c2e9c00 100644
--- a/secblock.h
+++ b/secblock.h
@@ -382,7 +382,7 @@ public:
bool operator==(const SecBlock<T, A> &t) const
{
- return m_size == t.m_size && memcmp(m_ptr, t.m_ptr, m_size*sizeof(T)) == 0;
+ return m_size == t.m_size && VerifyBufsEqual(m_ptr, t.m_ptr, m_size*sizeof(T));
}
bool operator!=(const SecBlock<T, A> &t) const