get_subject() of a CERT_TRUSTED_PUBKEY object returns ID_PUBKEY_INFO_SHA1 hash consistent with the IKEv2 keyid philosophy

This commit is contained in:
Andreas Steffen
2008-10-08 03:35:52 +00:00
parent 95fd1dedb3
commit af09048e35
@@ -65,7 +65,7 @@ static certificate_type_t get_type(private_pubkey_cert_t *this)
*/
static identification_t* get_subject(private_pubkey_cert_t *this)
{
return this->key->get_id(this->key, ID_PUBKEY_SHA1);
return this->key->get_id(this->key, ID_PUBKEY_INFO_SHA1);
}
/**