Mercurial > dropbear
diff sysoptions.h @ 1640:228b086794b7
limit password length to 100
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 21 Mar 2019 00:09:07 +0800 |
parents | 1fbe598a14fb |
children | 6d1bbe7d5fa5 |
line wrap: on
line diff
--- a/sysoptions.h Wed Mar 20 23:47:25 2019 +0800 +++ b/sysoptions.h Thu Mar 21 00:09:07 2019 +0800 @@ -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 */