aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms/cms_algo.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-08 00:03:15 +0000
committerlloyd <[email protected]>2010-09-08 00:03:15 +0000
commit995277d11e900475aff1cc418021569968394590 (patch)
treeee36518274c423b970aa8a4dcc1cbee98cc8f1e1 /src/cms/cms_algo.cpp
parent02ed6ebc954683cd2a25a81b6e707ab481e41e26 (diff)
Rename MemoryRegion::destroy to MemoryRegion::clear to match STL
Diffstat (limited to 'src/cms/cms_algo.cpp')
-rw-r--r--src/cms/cms_algo.cpp2
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: