From 833f064b8f4ee30b9f46bba654a99411cd6866d3 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 25 Feb 2025 20:12:57 -0500 Subject: stpsession: Swap max username and pw length It is more reasonable for usernames to be shorter, and passwords to be longer... Signed-off-by: Ian Moffett --- lib/include/net/stpsession.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/include') diff --git a/lib/include/net/stpsession.h b/lib/include/net/stpsession.h index 6b936d8..731b8ce 100644 --- a/lib/include/net/stpsession.h +++ b/lib/include/net/stpsession.h @@ -34,8 +34,8 @@ #include #include -#define MAX_USERNAME_LEN 256 -#define MAX_PASSWORD_LEN 64 +#define MAX_USERNAME_LEN 64 +#define MAX_PASSWORD_LEN 256 /* * 2^12 (4096) bytes is a common page size on -- cgit v1.2.3