cosmetics
This commit is contained in:
parent
e2de376c74
commit
2e7b7faf0c
|
@ -1045,8 +1045,7 @@ static cert_status_t get_status(const private_x509_t *this)
|
||||||
*/
|
*/
|
||||||
static bool verify(const private_x509_t *this, const rsa_public_key_t *signer)
|
static bool verify(const private_x509_t *this, const rsa_public_key_t *signer)
|
||||||
{
|
{
|
||||||
return (signer->verify_emsa_pkcs1_signature(signer, this->tbsCertificate,
|
return signer->verify_emsa_pkcs1_signature(signer, this->tbsCertificate, this->signature) == SUCCESS;
|
||||||
this->signature) == SUCCESS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue