summaryrefslogtreecommitdiff
path: root/security/nss/lib/pki/pki3hack.c
diff options
context:
space:
mode:
authorian.mcgreer%sun.com <devnull@localhost>2002-10-22 14:43:08 +0000
committerian.mcgreer%sun.com <devnull@localhost>2002-10-22 14:43:08 +0000
commit207c07f95cd6dbe7afe367f1dde5af2204fd8d8c (patch)
tree7242c788626b25ed84ed14c71776b4556f831aa1 /security/nss/lib/pki/pki3hack.c
parent4990c2f95827a79021d6c73cd69257d96190477b (diff)
downloadnss-hg-207c07f95cd6dbe7afe367f1dde5af2204fd8d8c.tar.gz
bug 174634, fix handling of authorityCertIssuer in chain construction
Diffstat (limited to 'security/nss/lib/pki/pki3hack.c')
-rw-r--r--security/nss/lib/pki/pki3hack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/pki/pki3hack.c b/security/nss/lib/pki/pki3hack.c
index e9e9d892f..1d06b7f34 100644
--- a/security/nss/lib/pki/pki3hack.c
+++ b/security/nss/lib/pki/pki3hack.c
@@ -274,7 +274,7 @@ nss3certificate_matchIdentifier(nssDecodedCert *dc, void *id)
/* this is some kind of error, so treat it as unknown */
return nssCertIDMatch_Unknown;
}
- if (SECITEM_ItemsAreEqual(&c->derSubject, caName) &&
+ if (SECITEM_ItemsAreEqual(&c->derIssuer, caName) &&
SECITEM_ItemsAreEqual(&c->serialNumber, caSN))
{
/* change the state to positive match, but keep going */