From 0378a300e82bb2b69825591777501c2971fc44be Mon Sep 17 00:00:00 2001 From: Joseph Birr-Pixton Date: Sun, 21 Jun 2020 16:40:27 +0100 Subject: [PATCH] Pretty print organizationIdentifier --- tests/compare_mozilla.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/compare_mozilla.rs b/tests/compare_mozilla.rs index 3a1f4b7..1298f78 100644 --- a/tests/compare_mozilla.rs +++ b/tests/compare_mozilla.rs @@ -37,6 +37,7 @@ fn stringify_x500name(subject: &[u8]) -> String { &[0x55, 0x04, 0x09] => "STREET", &[0x55, 0x04, 0x0a] => "O", &[0x55, 0x04, 0x0b] => "OU", + &[0x55, 0x04, 0x61] => "organizationIdentifier", &[0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01, 0x19] => "domainComponent", &[0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09, 0x01] => "emailAddress", _ => panic!("unhandled x500 attr {:?}", oid)