Skip to contentSkip to conversation

Fix typo in extract_x509_extension() debug message

PATCH In review Steffan Karger 2 participants 2 messages Jun 21, 2017 – Jun 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in extract_x509_extension() debug message

This message should use the external name, not the internal one.

---
 src/openvpn/ssl_verify_openssl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
src/openvpn/ssl_verify_openssl.c +1 -2
index f9e889ff..ea474955 100644
@@ -129,8 +129,7 @@ extract_x509_extension(X509 *cert, char *fieldname, char *out, int size)
     if (!x509_username_field_ext_supported(fieldname))
     {
         msg(D_TLS_ERRORS,
-            "ERROR: --x509-alt-username field 'ext:%s' not supported",
-            fieldname);
+            "ERROR: --x509-username-field 'ext:%s' not supported", fieldname);
         return false;
     }
 
Signature · 1 line
2.11.0
#1 lore raw

ACK, bugfix in text only, as discussed on Tuesday.

Your patch has been applied to the master and release/2.4 branch.

commit 0402c7faadf907d4c0c1398e9250293527d4054f (master) commit c3e6e6889931d33cba02b75715edfedce5c8cdab (release/2.4)

Author: Steffan Karger
Date:   Wed Jun 21 23:21:31 2017 +0200
     Fix typo in extract_x509_extension() debug message

     Signed-off-by: Steffan Karger <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg14939.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering