Use subject, not issuer, of CRL issuing certificate
This commit is contained in:
1 parent
dffb176f2b
commit
6ffd9f88ce
1 file changed
+1
-1
@@ -625,7 +625,7 @@ static bool generate(private_x509_crl_t *this, certificate_t *cert,
|
||||
|
||||
x509 = (x509_t*)cert;
|
||||
|
||||
this->issuer = cert->get_issuer(cert);
|
||||
this->issuer = cert->get_subject(cert);
|
||||
this->issuer = this->issuer->clone(this->issuer);
|
||||
|
||||
this->authKeyIdentifier = chunk_clone(x509->get_subjectKeyIdentifier(x509));
|
||||
|
||||
Reference in new issue
Block a user