aboutsummaryrefslogtreecommitdiffstats
path: root/src/sym_algo/symkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sym_algo/symkey.cpp')
-rw-r--r--src/sym_algo/symkey.cpp4
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);
}