aboutsummaryrefslogtreecommitdiffhomepage
path: root/zxcvbn.h
diff options
context:
space:
mode:
authortony <tsyrogit@users.noreply.github.com>2016-10-16 18:15:39 +0100
committertony <tsyrogit@users.noreply.github.com>2016-10-16 18:15:39 +0100
commita54831459801fd2c7f5dbc01cea05e2ca78fc898 (patch)
treeade47211a36e2287791b7e0bd4b3521d4916d9f7 /zxcvbn.h
parent10c4494cfcd52b4fee8eee6c1e1cc814cc1b224c (diff)
downloadzxcvbn-c-a54831459801fd2c7f5dbc01cea05e2ca78fc898.tar.gz
update to use larger dictionaries from the Dropbox version of zxcvbn.
Also allow for repeated sequences.
Diffstat (limited to 'zxcvbn.h')
-rw-r--r--zxcvbn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zxcvbn.h b/zxcvbn.h
index d7a0c17..db08556 100644
--- a/zxcvbn.h
+++ b/zxcvbn.h
@@ -69,7 +69,8 @@ typedef enum
SEQUENCE_MATCH, /* 7 */
SPATIAL_MATCH, /* 8 */
DATE_MATCH, /* 9 */
- YEAR_MATCH /* 10 */
+ YEAR_MATCH, /* 10 */
+ MULTIPLE_MATCH = 32 /* Added to above to indicate matching part has been repeated */
} ZxcTypeMatch_t;
/* Linked list of information returned in the Info arg to ZxcvbnMatch */