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/sym_algo | |
parent | a9d0f37596e5413cae45f32740738c5c68abcce1 (diff) |
Update all uses of MemoryRegion::append to use either push_back or operator+=
Diffstat (limited to 'src/sym_algo')
-rw-r--r-- | src/sym_algo/symkey.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sym_algo/symkey.cpp b/src/sym_algo/symkey.cpp index 160149b01..63b3e75b7 100644 --- a/src/sym_algo/symkey.cpp +++ b/src/sym_algo/symkey.cpp @@ -117,8 +117,8 @@ bool operator!=(const OctetString& s1, const OctetString& s2) OctetString operator+(const OctetString& k1, const OctetString& k2) { SecureVector<byte> out; - out.append(k1.bits_of()); - out.append(k2.bits_of()); + out += k1.bits_of(); + out += k2.bits_of(); return OctetString(out); } |