aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-14 13:57:09 +0000
committerlloyd <[email protected]>2010-09-14 13:57:09 +0000
commit522d73aff8a321c96ba3cb1fe0ab7ffef1e15fab (patch)
tree07f0a5e37aa8a4833359fb9d883d82a4cc3bdcd5 /src/mac
parentd472ea829a530fd6995293904d4f07a7ef8b5472 (diff)
Implicit conversions
Diffstat (limited to 'src/mac')
-rw-r--r--src/mac/x919_mac/x919_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac/x919_mac/x919_mac.cpp b/src/mac/x919_mac/x919_mac.cpp
index 975b195f6..0515dbee9 100644
--- a/src/mac/x919_mac/x919_mac.cpp
+++ b/src/mac/x919_mac/x919_mac.cpp
@@ -17,7 +17,7 @@ namespace Botan {
void ANSI_X919_MAC::add_data(const byte input[], u32bit length)
{
u32bit xored = std::min(8 - position, length);
- xor_buf(state + position, input, xored);
+ xor_buf(&state[position], input, xored);
position += xored;
if(position < 8) return;