[gnutls-devel] [PATCH] Fix capitalisation of ia5String

Kurt Roeckx kurt at roeckx.be
Thu May 29 10:25:01 CEST 2014


---
 lib/x509/x509_ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c
index ea6a496..6d7421e 100644
--- a/lib/x509/x509_ext.c
+++ b/lib/x509/x509_ext.c
@@ -1593,7 +1593,7 @@ static int decode_user_notice(const void *data, size_t size,
 	}
 
 	if (strcmp(choice_type, "utf8String") != 0
-	    && strcmp(choice_type, "IA5String") != 0
+	    && strcmp(choice_type, "ia5String") != 0
 	    && strcmp(choice_type, "bmpString") != 0
 	    && strcmp(choice_type, "visibleString") != 0) {
 		gnutls_assert();
-- 
2.0.0.rc2




More information about the Gnutls-devel mailing list