mirror of
https://github.com/clearml/dropbear
synced 2025-02-11 23:23:30 +00:00
Increase MAX_USERNAME_LEN to 100
This commit is contained in:
parent
f6df3e1fec
commit
01cd1bd11f
2
auth.h
2
auth.h
@ -78,7 +78,7 @@ char* getpass_or_cancel(const char* prompt);
|
|||||||
void cli_auth_pubkey_cleanup(void);
|
void cli_auth_pubkey_cleanup(void);
|
||||||
|
|
||||||
|
|
||||||
#define MAX_USERNAME_LEN 25 /* arbitrary for the moment */
|
#define MAX_USERNAME_LEN 100 /* arbitrary for the moment */
|
||||||
|
|
||||||
#define AUTH_TYPE_NONE 1
|
#define AUTH_TYPE_NONE 1
|
||||||
#define AUTH_TYPE_PUBKEY (1 << 1)
|
#define AUTH_TYPE_PUBKEY (1 << 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user