Fix output of ASN.1 GN
authorTobias Brunner <tobias@strongswan.org>
Tue, 23 Apr 2013 10:06:54 +0000 (12:06 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Jun 2013 09:03:12 +0000 (11:03 +0200)
src/libstrongswan/utils/identification.c

index ca0e5c9..326ccf2 100644 (file)
@@ -799,7 +799,7 @@ int identification_printf_hook(printf_hook_data_t *data,
                        dntoa(this->encoded, buf, sizeof(buf));
                        break;
                case ID_DER_ASN1_GN:
-                       snprintf(buf, sizeof(buf), "(ASN.1 general Name");
+                       snprintf(buf, sizeof(buf), "(ASN.1 general name)");
                        break;
                case ID_KEY_ID:
                        if (chunk_printable(this->encoded, NULL, '?') &&