diff options
author | Matt Johnston <matt@ucc.asn.au> | 2019-03-21 00:09:07 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2019-03-21 00:09:07 +0800 |
commit | ff97e856b6d13eb20aaac0493fa6921b466a64a3 (patch) | |
tree | c801474783f49a494785a1e24eee693d23e0437d /sysoptions.h | |
parent | 7d58dba5280ff0004b5474da9d01f4580dc677b2 (diff) | |
download | dropbear-ff97e856b6d13eb20aaac0493fa6921b466a64a3.tar.gz |
limit password length to 100
Diffstat (limited to 'sysoptions.h')
-rw-r--r-- | sysoptions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysoptions.h b/sysoptions.h index 5bdb3e3..8648c4e 100644 --- a/sysoptions.h +++ b/sysoptions.h @@ -86,6 +86,8 @@ /* Required for pubkey auth */ #define DROPBEAR_SIGNKEY_VERIFY ((DROPBEAR_SVR_PUBKEY_AUTH) || (DROPBEAR_CLIENT)) +#define DROPBEAR_MAX_PASSWORD_LEN 100 + #define SHA1_HASH_SIZE 20 #define MD5_HASH_SIZE 16 #define MAX_HASH_SIZE 64 /* sha512 */ |