aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac/x919_mac/x919_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/mac/x919_mac/x919_mac.cpp')
-rw-r--r--src/lib/mac/x919_mac/x919_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mac/x919_mac/x919_mac.cpp b/src/lib/mac/x919_mac/x919_mac.cpp
index 2e0fb2817..542f9040a 100644
--- a/src/lib/mac/x919_mac/x919_mac.cpp
+++ b/src/lib/mac/x919_mac/x919_mac.cpp
@@ -45,7 +45,7 @@ void ANSI_X919_MAC::final_result(byte mac[])
{
if(m_position)
m_des1->encrypt(m_state);
- m_des2->decrypt(&m_state[0], mac);
+ m_des2->decrypt(m_state.data(), mac);
m_des1->encrypt(mac);
zeroise(m_state);
m_position = 0;