diff options
author | lloyd <[email protected]> | 2010-09-15 13:44:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-15 13:44:42 +0000 |
commit | 180c5358cb31e9c003cada3705bb30cf01732878 (patch) | |
tree | 951038dfaf2c33bcee5e27c4b1d2980eb35494a3 /src/pk_pad | |
parent | a9d0f37596e5413cae45f32740738c5c68abcce1 (diff) |
Update all uses of MemoryRegion::append to use either push_back or operator+=
Diffstat (limited to 'src/pk_pad')
-rw-r--r-- | src/pk_pad/emsa3/emsa3.cpp | 2 | ||||
-rw-r--r-- | src/pk_pad/emsa_raw/emsa_raw.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pk_pad/emsa3/emsa3.cpp b/src/pk_pad/emsa3/emsa3.cpp index 21ef072ef..0fa9d5429 100644 --- a/src/pk_pad/emsa3/emsa3.cpp +++ b/src/pk_pad/emsa3/emsa3.cpp @@ -109,7 +109,7 @@ EMSA3::~EMSA3() */ void EMSA3_Raw::update(const byte input[], u32bit length) { - message.append(input, length); + message += std::make_pair(input, length); } /* diff --git a/src/pk_pad/emsa_raw/emsa_raw.cpp b/src/pk_pad/emsa_raw/emsa_raw.cpp index 696c6bc5c..4d32ef7a9 100644 --- a/src/pk_pad/emsa_raw/emsa_raw.cpp +++ b/src/pk_pad/emsa_raw/emsa_raw.cpp @@ -14,7 +14,7 @@ namespace Botan { */ void EMSA_Raw::update(const byte input[], u32bit length) { - message.append(input, length); + message += std::make_pair(input, length); } /* |