mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 16:03:42 +08:00
Apply a small patch from Diego R. Lopez <diego.lopez@rediris.es>,
making X509_check_issued() properly match an issuer that's found in a Authority Key Identifier.
This commit is contained in:
parent
123c401967
commit
63810d8566
@ -615,7 +615,7 @@ int X509_check_issued(X509 *issuer, X509 *subject)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(nm && X509_NAME_cmp(nm, X509_get_issuer_name(issuer)))
|
||||
if(nm && X509_NAME_cmp(nm, X509_get_subject_name(issuer)))
|
||||
return X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user