diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/mac/x919_mac/x919_mac.cpp | 2 |
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 ef1e78602..0cbf08795 100644 --- a/src/lib/mac/x919_mac/x919_mac.cpp +++ b/src/lib/mac/x919_mac/x919_mac.cpp @@ -91,7 +91,7 @@ MessageAuthenticationCode* ANSI_X919_MAC::clone() const */ ANSI_X919_MAC::ANSI_X919_MAC() : m_des1(BlockCipher::create("DES")), - m_des2(BlockCipher::create("DES")), + m_des2(m_des1->clone()), m_position(0) { } |