diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-08-18 18:24:26 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-08-18 18:24:26 +0200 |
commit | fc0ed07c1f44d56ac9a5353c23e4cd79ee2594dd (patch) | |
tree | 357106fa49e5d2653f1b5768d56912382a72e38d /src/pluto/x509.c | |
parent | c8b543a6fc28bc335212ec69d39cc57f5b0e4095 (diff) | |
download | strongswan-fc0ed07c1f44d56ac9a5353c23e4cd79ee2594dd.tar.bz2 strongswan-fc0ed07c1f44d56ac9a5353c23e4cd79ee2594dd.tar.xz |
pruned OID tree
Diffstat (limited to 'src/pluto/x509.c')
-rw-r--r-- | src/pluto/x509.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluto/x509.c b/src/pluto/x509.c index 0953f18f5..b019f42c3 100644 --- a/src/pluto/x509.c +++ b/src/pluto/x509.c @@ -845,7 +845,7 @@ bool same_dn(chunk_t a, chunk_t b) /* printableStrings and email RDNs require uppercase comparison */ if (type_a == type_b && (type_a == ASN1_PRINTABLESTRING || - (type_a == ASN1_IA5STRING && asn1_known_oid(oid_a) == OID_PKCS9_EMAIL))) + (type_a == ASN1_IA5STRING && asn1_known_oid(oid_a) == OID_EMAIL_ADDRESS))) { if (strncasecmp(value_a.ptr, value_b.ptr, value_b.len) != 0) { @@ -923,7 +923,7 @@ bool match_dn(chunk_t a, chunk_t b, int *wildcards) /* printableStrings and email RDNs require uppercase comparison */ if (type_a == type_b && (type_a == ASN1_PRINTABLESTRING || - (type_a == ASN1_IA5STRING && asn1_known_oid(oid_a) == OID_PKCS9_EMAIL))) + (type_a == ASN1_IA5STRING && asn1_known_oid(oid_a) == OID_EMAIL_ADDRESS))) { if (strncasecmp(value_a.ptr, value_b.ptr, value_b.len) != 0) { |