summaryrefslogtreecommitdiff
path: root/wake.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wake.cpp')
-rw-r--r--wake.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wake.cpp b/wake.cpp
index 78c243b2..ce406532 100644
--- a/wake.cpp
+++ b/wake.cpp
@@ -94,7 +94,7 @@ void WAKE_Policy<B>::OperateKeystream(KeystreamOperation operation, byte *output
r5 = M(r5, r4);\
r6 = M(r6, r5);\
output += 4;\
- if (x == XOR_KEYSTREAM)\
+ if (!(x & INPUT_NULL))\
input += 4;\
}