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/ssl/handshake_hash.cpp | |
parent | a9d0f37596e5413cae45f32740738c5c68abcce1 (diff) |
Update all uses of MemoryRegion::append to use either push_back or operator+=
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; } |