diff options
author | tony <tsyrogit@users.noreply.github.com> | 2016-10-24 09:56:16 +0100 |
---|---|---|
committer | tony <tsyrogit@users.noreply.github.com> | 2016-10-24 09:56:16 +0100 |
commit | ebfeb8abdd6a503e880095f07f5cba76dcfcc0d9 (patch) | |
tree | 79cedaeb8661b8cb76e9f22acf6e37f1d763e66f /zxcvbn.h | |
parent | 6040c15aedbeac09764b85e5949b0e71b5c36a81 (diff) | |
download | zxcvbn-c-ebfeb8abdd6a503e880095f07f5cba76dcfcc0d9.tar.gz |
Add extra entropy if a password is made from multiple matches, also move some controlling #defines to beginning of zxcvbn.c
Diffstat (limited to 'zxcvbn.h')
-rw-r--r-- | zxcvbn.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -79,6 +79,7 @@ struct ZxcMatch int Begin; /* Char position of begining of match */ int Length; /* Number of chars in the match */ double Entrpy; /* The entropy of the match */ + double MltEnpy; /* Entropy with additional allowance for multipart password */ ZxcTypeMatch_t Type; /* Type of match (Spatial/Dictionary/Order/Repeat) */ struct ZxcMatch *Next; }; |