[gcr/15-ip-addresses-are-not-shown-in-gcr-viewer-for-subjectalternativename] Fix typo in parsing SubjectAltName.



commit 5db547ccb41df51ca997b0e4c5979a018c10d1d1
Author: Daiki Ueno <ueno gnu org>
Date:   Wed Feb 6 13:28:41 2019 +0000

    Fix typo in parsing SubjectAltName.

 gcr/gcr-certificate-extensions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gcr/gcr-certificate-extensions.c b/gcr/gcr-certificate-extensions.c
index 393b3a6..92dec7c 100644
--- a/gcr/gcr-certificate-extensions.c
+++ b/gcr/gcr-certificate-extensions.c
@@ -305,7 +305,7 @@ _gcr_certificate_extension_subject_alt_name (GBytes *data)
                else if (g_str_equal (node_name, "uniformResourceIdentifier"))
                        general_name_parse_uri (choice, &general);
 
-               else if (g_str_equal (node_name, "IPAddress"))
+               else if (g_str_equal (node_name, "iPAddress"))
                        general_name_parse_ip (choice, &general);
 
                else if (g_str_equal (node_name, "registeredID"))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]