From 4ebcf154ea7247360565fa84aef42e1827b2063f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 3 Nov 2014 23:35:07 +0100 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/autopasswd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/autopasswd.c b/src/autopasswd.c index 49836df..d954024 100644 --- a/src/autopasswd.c +++ b/src/autopasswd.c @@ -362,7 +362,7 @@ int main(int argc, char** argv) return 1; } } - if ((bitrate__ & capacity__ & output__) == 0) /* state_size? */ + if ((bitrate__ | capacity__ | output__) == 0) /* state_size? */ { keccak_state_size = state_size__ ? keccak_state_size : keccak_state_size_; keccak_output = (((keccak_state_size << 5) / 100 + 7) >> 3) << 3; @@ -370,7 +370,7 @@ int main(int argc, char** argv) keccak_capacity = keccak_state_size - keccak_bitrate; keccak_output = keccak_output < 8 ? 8 : keccak_output; } - else if ((bitrate__ & capacity__) == 0) /* !output state_size? */ + else if ((bitrate__ | capacity__) == 0) /* !output state_size? */ { keccak_bitrate = keccak_bitrate_; keccak_capacity = keccak_capacity_; -- cgit v1.2.3-70-g09d2