Loading openssl/src/nid.rs +4 −2 Original line number Diff line number Diff line Loading @@ -104,7 +104,8 @@ pub enum Nid { G, S, I, uid, // uniqueIdentifier /// uniqueIdentifier UID, CrlDistributionPoints, RSA_NP_MD5, SN, Loading Loading @@ -170,5 +171,6 @@ pub enum Nid { ID_QT_UNOTICE, RC2_64_CBC, SMIMECaps, UID = 458 // userId /// Shown as UID in cert subject UserId = 458 } openssl/src/x509/tests.rs +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ fn test_nid_uid_value() { let cert = X509::from_pem(&mut file).ok().expect("Failed to load PEM"); let subject = cert.subject_name(); let cn = match subject.text_by_nid(Nid::UID) { let cn = match subject.text_by_nid(Nid::UserId) { Some(x) => x, None => panic!("Failed to read UID from cert"), }; Loading Loading
openssl/src/nid.rs +4 −2 Original line number Diff line number Diff line Loading @@ -104,7 +104,8 @@ pub enum Nid { G, S, I, uid, // uniqueIdentifier /// uniqueIdentifier UID, CrlDistributionPoints, RSA_NP_MD5, SN, Loading Loading @@ -170,5 +171,6 @@ pub enum Nid { ID_QT_UNOTICE, RC2_64_CBC, SMIMECaps, UID = 458 // userId /// Shown as UID in cert subject UserId = 458 }
openssl/src/x509/tests.rs +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ fn test_nid_uid_value() { let cert = X509::from_pem(&mut file).ok().expect("Failed to load PEM"); let subject = cert.subject_name(); let cn = match subject.text_by_nid(Nid::UID) { let cn = match subject.text_by_nid(Nid::UserId) { Some(x) => x, None => panic!("Failed to read UID from cert"), }; Loading