Well spotted... change makes sense, getting rid of magic numbers is
good, ensuring all "use this for a password" arrays have the same
size is even better ;-)
Your patch has been applied to the master and release/2.7 branch (bugfix).
commit 5f7b1c548b69e0ba0c54bfb63c94243c4ffaea97 (master)
commit 6a1ae7f24d3179146bb7464bd8dc8a36f18353fb (release/2.7)
Author: Selva Nair
Date: Thu Mar 5 07:59:45 2026 +0100
Use USER_PASS_LEN for private key password buffer size
Signed-off-by: Selva Nair <[email protected]>
Acked-by: Arne Schwabe <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1553
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg35914.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel