diff options
Diffstat (limited to 'src/cms/cms_algo.cpp')
-rw-r--r-- | src/cms/cms_algo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cms/cms_algo.cpp b/src/cms/cms_algo.cpp index 686a79b4e..8c6806699 100644 --- a/src/cms/cms_algo.cpp +++ b/src/cms/cms_algo.cpp @@ -41,7 +41,7 @@ SecureVector<byte> do_rfc3217_wrap(RandomNumberGenerator& rng, { for(u32bit j = 0; j != buf.size(); j++) send(buf[buf.size()-j-1]); - buf.destroy(); + buf.clear(); } Flip_Bytes(const SecureVector<byte>& prefix) { buf.append(prefix); } private: |