Skip to content

Commit 2c8d08d

Browse files
NCL-2272 : SCC Windows - Azure AD Support - OpenVPN password size
1 parent 1009b98 commit 2c8d08d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openvpn/misc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct user_pass
6565
#ifdef ENABLE_PKCS11
6666
#define USER_PASS_LEN 4096
6767
#else
68-
#define USER_PASS_LEN 128
68+
#define USER_PASS_LEN 4096
6969
#endif
7070
/* Note that username and password are expected to be null-terminated */
7171
char username[USER_PASS_LEN];
@@ -213,4 +213,4 @@ prepend_dir(const char *dir, const char *path, struct gc_arena *gc);
213213
#define MAC_SCAN_ARG(_mac) &_mac[0], &_mac[1], &_mac[2], \
214214
&_mac[3], &_mac[4], &_mac[5]
215215

216-
#endif /* ifndef MISC_H */
216+
#endif /* ifndef MISC_H */

0 commit comments

Comments
 (0)