aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-03-27 21:07:33 +0000
committerlloyd <[email protected]>2013-03-27 21:07:33 +0000
commitdbe450ca8a105213fe6d94512d6ad872046697ca (patch)
treeb4bbf16feaf10d870f58291654e422ec6ae65d9d /src
parent758a8cdc36df1c6876f0e1255a883d0843018b39 (diff)
Compile fix
Diffstat (limited to 'src')
-rw-r--r--src/aead/ocb/ocb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aead/ocb/ocb.cpp b/src/aead/ocb/ocb.cpp
index df9d37fa2..ec5835d79 100644
--- a/src/aead/ocb/ocb.cpp
+++ b/src/aead/ocb/ocb.cpp
@@ -313,7 +313,7 @@ void OCB_Encryption::finish(secure_vector<byte>& buffer)
mac ^= m_ad_hash;
- buffer += std::pair(&mac[0], tag_size());
+ buffer += std::make_pair(&mac[0], tag_size());
zeroise(m_checksum);
zeroise(m_offset);