fixed wrong emailAddress OID introduced by revision c31687da
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 18 Aug 2009 15:52:00 +0000 (17:52 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 18 Aug 2009 15:52:00 +0000 (17:52 +0200)
src/libstrongswan/utils/identification.c

index 10daf46..7c3b19c 100644 (file)
@@ -85,9 +85,9 @@ static const x501rdn_t x501rdns[] = {
        {"ID",                          OID_UNIQUE_IDENTIFIER,          ASN1_PRINTABLESTRING},
        {"EN",                          OID_EMPLOYEE_NUMBER,            ASN1_PRINTABLESTRING},
        {"employeeNumber",      OID_EMPLOYEE_NUMBER,            ASN1_PRINTABLESTRING},
-       {"E",                           OID_EMAIL_ADDRESS,                      ASN1_IA5STRING},
-       {"Email",                       OID_EMAIL_ADDRESS,                      ASN1_IA5STRING},
-       {"emailAddress",        OID_EMAIL_ADDRESS,                      ASN1_IA5STRING},
+       {"E",                           OID_PKCS9_EMAIL,                        ASN1_IA5STRING},
+       {"Email",                       OID_PKCS9_EMAIL,                        ASN1_IA5STRING},
+       {"emailAddress",        OID_PKCS9_EMAIL,                        ASN1_IA5STRING},
        {"UN",                          OID_UNSTRUCTURED_NAME,          ASN1_IA5STRING},
        {"unstructuredName",OID_UNSTRUCTURED_NAME,              ASN1_IA5STRING},
        {"TCGID",                       OID_TCGID,                                      ASN1_PRINTABLESTRING}