Prechádzať zdrojové kódy

update field lengths

Grant Limberg 3 rokov pred
rodič
commit
4d021e16a5
2 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  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
 	 */
-	char ssoNonce[64];
+	char ssoNonce[128];
 
 	/**
 	 * sso state
 	 */
-	char ssoState[128];
+	char ssoState[256];
 
 	/**
 	 * oidc client id

+ 3 - 3
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