diff options
Diffstat (limited to 'src/mac/cbc_mac/cbc_mac.cpp')
-rw-r--r-- | src/mac/cbc_mac/cbc_mac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac/cbc_mac/cbc_mac.cpp b/src/mac/cbc_mac/cbc_mac.cpp index 206bce55c..387737eac 100644 --- a/src/mac/cbc_mac/cbc_mac.cpp +++ b/src/mac/cbc_mac/cbc_mac.cpp @@ -46,7 +46,7 @@ void CBC_MAC::final_result(byte mac[]) if(position) e->encrypt(state); - copy_mem(mac, state.begin(), state.size()); + copy_mem(mac, &state[0], state.size()); zeroise(state); position = 0; } |