diff options
Diffstat (limited to 'src/ssl/handshake_hash.cpp')
-rw-r--r-- | src/ssl/handshake_hash.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ssl/handshake_hash.cpp b/src/ssl/handshake_hash.cpp index fb9f5f9f4..a9e1d8e13 100644 --- a/src/ssl/handshake_hash.cpp +++ b/src/ssl/handshake_hash.cpp @@ -24,8 +24,8 @@ SecureVector<byte> HandshakeHash::final() sha1.update(data); SecureVector<byte> output; - output.append(md5.final()); - output.append(sha1.final()); + output += md5.final(); + output += sha1.final(); return output; } @@ -58,8 +58,8 @@ SecureVector<byte> HandshakeHash::final_ssl3(const MemoryRegion<byte>& secret) sha1.update(inner_sha1); SecureVector<byte> output; - output.append(md5.final()); - output.append(sha1.final()); + output += md5.final(); + output += sha1.final(); return output; } |