From 180c5358cb31e9c003cada3705bb30cf01732878 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 15 Sep 2010 13:44:42 +0000 Subject: Update all uses of MemoryRegion::append to use either push_back or operator+= --- src/ssl/handshake_hash.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ssl/handshake_hash.cpp') 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 HandshakeHash::final() sha1.update(data); SecureVector output; - output.append(md5.final()); - output.append(sha1.final()); + output += md5.final(); + output += sha1.final(); return output; } @@ -58,8 +58,8 @@ SecureVector HandshakeHash::final_ssl3(const MemoryRegion& secret) sha1.update(inner_sha1); SecureVector output; - output.append(md5.final()); - output.append(sha1.final()); + output += md5.final(); + output += sha1.final(); return output; } -- cgit v1.2.3