diff options
Diffstat (limited to 'src/sym_algo/symkey.cpp')
-rw-r--r-- | src/sym_algo/symkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sym_algo/symkey.cpp b/src/sym_algo/symkey.cpp index a04f29181..65eb268cb 100644 --- a/src/sym_algo/symkey.cpp +++ b/src/sym_algo/symkey.cpp @@ -92,7 +92,7 @@ std::string OctetString::as_string() const OctetString& OctetString::operator^=(const OctetString& k) { if(&k == this) { zeroise(bits); return (*this); } - xor_buf(bits.begin(), k.begin(), std::min(length(), k.length())); + xor_buf(&bits[0], k.begin(), std::min(length(), k.length())); return (*this); } |