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 | 8b4f60a7a113f4e9ae801dea88606f2663728f03 (patch) | |
tree | 6fb446ad0e2db572789347d7eb24e0d641938a6a /sysoptions.h | |
parent | 01cd1bd11f50fc2cdb6b4e5194daab36f344c8df (diff) |
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 */ |