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:
1 parent
95fd1dedb3
commit
af09048e35
1 file changed
+1
-1
@@ -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)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user