Only subjected to basic t_client tests - this extracts the subject name
to print it, so things still work for the non-error case (and I have no
cert that would trigger the error case).

Opened github #917 to start a discussion about the ENABLE_X509ALTUSERNAME
conditional... (one cannot simply touch OpenVPN code without finding
things :-/ )

Your patch has been applied to the master branch.

commit f18e3141fae709fff47b82d7931024249ba09cc1
Author: Gert Doering
Date:   Thu Nov 27 12:35:12 2025 +0100

     extract_x509_field_ssl(): verify that X509_NAME is not NULL.

     Signed-off-by: Gert Doering <[email protected]>
     Acked-by: Antonio Quartulli <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1388
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg34748.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

Reply via email to