comparison 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
comparison
equal deleted inserted replaced
1639:8a485389330f 1640:228b086794b7
83 83
84 #define DROPBEAR_NGROUP_MAX 1024 84 #define DROPBEAR_NGROUP_MAX 1024
85 85
86 /* Required for pubkey auth */ 86 /* Required for pubkey auth */
87 #define DROPBEAR_SIGNKEY_VERIFY ((DROPBEAR_SVR_PUBKEY_AUTH) || (DROPBEAR_CLIENT)) 87 #define DROPBEAR_SIGNKEY_VERIFY ((DROPBEAR_SVR_PUBKEY_AUTH) || (DROPBEAR_CLIENT))
88
89 #define DROPBEAR_MAX_PASSWORD_LEN 100
88 90
89 #define SHA1_HASH_SIZE 20 91 #define SHA1_HASH_SIZE 20
90 #define MD5_HASH_SIZE 16 92 #define MD5_HASH_SIZE 16
91 #define MAX_HASH_SIZE 64 /* sha512 */ 93 #define MAX_HASH_SIZE 64 /* sha512 */
92 94