aboutsummaryrefslogtreecommitdiffstats
path: root/src/aead
diff options
context:
space:
mode:
Diffstat (limited to 'src/aead')
-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);