From 4d021e16a59c6c4de1a07d5ff5d4a20b9f604467 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Mon, 8 Nov 2021 09:29:31 -0800 Subject: [PATCH] update field lengths --- include/ZeroTierOne.h | 4 ++-- node/NetworkConfig.hpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index 063db4396..0a8ec85fd 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -1224,12 +1224,12 @@ typedef struct /** * sso nonce */ - char ssoNonce[64]; + char ssoNonce[128]; /** * sso state */ - char ssoState[128]; + char ssoState[256]; /** * oidc client id diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index f546eadec..8b18e150d 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -663,7 +663,7 @@ public: */ char authenticationURL[2048]; -/** + /** * Time current authentication expires or 0 if external authentication is disabled * * Not used if authVersion >= 1 @@ -678,12 +678,12 @@ public: /** * sso nonce */ - char ssoNonce[64]; + char ssoNonce[128]; /** * sso state */ - char ssoState[128]; + char ssoState[256]; /** * oidc client id