diff options
author | Ian Moffett <ian@osmora.org> | 2025-02-25 20:12:57 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-02-25 20:12:57 -0500 |
commit | 833f064b8f4ee30b9f46bba654a99411cd6866d3 (patch) | |
tree | 8febd51531947c353af9f57d0104cd7f41b7189a | |
parent | 7ea9cf4a2d9a8068d9c2503f7c277cf6e9539660 (diff) |
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 <ian@osmora.org>
-rw-r--r-- | lib/include/net/stpsession.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <ostp/defs.h> #include <stdint.h> -#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 |