From 01cd1bd11f50fc2cdb6b4e5194daab36f344c8df Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 20 Mar 2019 23:47:25 +0800 Subject: [PATCH] Increase MAX_USERNAME_LEN to 100 --- auth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.h b/auth.h index 7126a4a..4bdb359 100644 --- a/auth.h +++ b/auth.h @@ -78,7 +78,7 @@ char* getpass_or_cancel(const char* prompt); 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_PUBKEY (1 << 1)