~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to default.cpp

  • Committer: weidai
  • Date: 2010-06-18 01:52:34 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:485
avoid SecBlock of arrays

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
 
181
181
        SetFilter(decryptor.release());
182
182
 
183
 
        if (memcmp(check, check+BLOCKSIZE, BLOCKSIZE))
 
183
        if (!VerifyBufsEqual(check, check+BLOCKSIZE, BLOCKSIZE))
184
184
        {
185
185
                m_state = KEY_BAD;
186
186
                if (m_throwException)