Explorar o código

update field lengths

Grant Limberg %!s(int64=3) %!d(string=hai) anos
pai
achega
4d021e16a5
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 2 2
      include/ZeroTierOne.h
  2. 3 3
      node/NetworkConfig.hpp

+ 2 - 2
include/ZeroTierOne.h

@@ -1224,12 +1224,12 @@ typedef struct
 	/**
 	/**
 	 * sso nonce
 	 * sso nonce
 	 */
 	 */
-	char ssoNonce[64];
+	char ssoNonce[128];
 
 
 	/**
 	/**
 	 * sso state
 	 * sso state
 	 */
 	 */
-	char ssoState[128];
+	char ssoState[256];
 
 
 	/**
 	/**
 	 * oidc client id
 	 * oidc client id

+ 3 - 3
node/NetworkConfig.hpp

@@ -663,7 +663,7 @@ public:
 	 */
 	 */
 	char authenticationURL[2048];
 	char authenticationURL[2048];
 
 
-/**
+	/**
 	 * Time current authentication expires or 0 if external authentication is disabled
 	 * Time current authentication expires or 0 if external authentication is disabled
 	 * 
 	 * 
 	 * Not used if authVersion >= 1
 	 * Not used if authVersion >= 1
@@ -678,12 +678,12 @@ public:
 	/**
 	/**
 	 * sso nonce
 	 * sso nonce
 	 */
 	 */
-	char ssoNonce[64];
+	char ssoNonce[128];
 
 
 	/**
 	/**
 	 * sso state
 	 * sso state
 	 */
 	 */
-	char ssoState[128];
+	char ssoState[256];
 
 
 	/**
 	/**
 	 * oidc client id
 	 * oidc client id