Well spotted. As discussed on IRC, I'm keeping the ones to master that
only add cleanups to the (unlikely) error path - not sure I've ever
seen a PRF failure, except for "your TLS library is stupid", in which
case both calls would fail. But still, good housekeeping, just not
crucially important for 2.7.
Your patch has been applied to the master branch.
commit ccdcfa9df2cfafe0d6f4f04c0facbc46ee807ef3
Author: Razvan Cojocaru
Date: Mon Nov 2 15:15:32 2026 +0100
ssl: wipe PRF master secret on failure paths
Signed-off-by: Razvan Cojocaru <[email protected]>
Acked-by: Steffan Karger <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2088
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg40471.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