[PATCH applied] Re: verify_x509_name: Improve the error message on failure

Gert Doering <[email protected]>
Newsgroups gmane.network.openvpn.devel
Message-ID <[email protected]>
With all these crypto things, figuring out why something isn't working
can be hard enough as it is - without OpenVPN printing non-helpful 
details about "something else".  I have not tested this, but just
turning the if() monster into a proper switch/case and per-test
message is worth the excercise :-) - Arne has ACKed it, and BB 
confirms "no breakage".  Thanks for this.

Your patch has been applied to the master and release/2.7 branch
(fixing the bug of not printing what was really matched).

commit c610746a2cceb27032c6687a33854e9967966a39 (master)
commit 20b4ecd934d5632895e330af534f105b621e4124 (release/2.7)
Author: Selva Nair
Date:   Tue Apr 14 07:58:24 2026 +0200

     verify_x509_name: Improve the error message on failure

     Signed-off-by: Selva Nair <[email protected]>
     Acked-by: Arne Schwabe <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1624
     Message-Id: <[email protected]>
     URL: https://www.mail-archive.com/[email protected]/msg36606.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.