Search for the right issuer when looking for the issuer of the CRL signer.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21795 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-08-02 22:19:06 +00:00
parent 58f913d8b0
commit 7c0c048abe

View File

@@ -437,7 +437,7 @@ verify_crl(hx509_context context,
q.match = HX509_QUERY_MATCH_SUBJECT_NAME;
q.match |= HX509_QUERY_KU_CRLSIGN;
q.subject_name = &crl->tbsCertList.issuer;
q.subject_name = &_hx509_get_cert(signer)->tbsCertificate.issuer;
ret = hx509_certs_find(context, certs, &q, &crl_parent);
if (ret) {