aboutsummaryrefslogtreecommitdiffhomepage
path: root/zxcvbn.c
diff options
context:
space:
mode:
Diffstat (limited to 'zxcvbn.c')
-rw-r--r--zxcvbn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zxcvbn.c b/zxcvbn.c
index 0ed8560..7ab2eb2 100644
--- a/zxcvbn.c
+++ b/zxcvbn.c
@@ -1483,8 +1483,9 @@ static void SequenceMatch(ZxcMatch_t **Result, const uint8_t *Passwd, int Start,
{
++Len;
++Passwd;
+ break;
}
- else if ((Next > SetHigh) || (Next < SetLow) || (Passwd[1] != Next))
+ if ((Next > SetHigh) || (Next < SetLow) || (Passwd[1] != Next))
break;
++Len;
++Passwd;