aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pubkey
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-10-08 03:35:52 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-10-08 03:35:52 +0000
commitaf09048e35d46242daf0279a4380fa854a2ac907 (patch)
tree46bd36556d0b2800abc9afbcfaafc8e3bb899dab /src/libstrongswan/plugins/pubkey
parent95fd1dedb332876935e909e84eb05fb9186a7d63 (diff)
downloadstrongswan-af09048e35d46242daf0279a4380fa854a2ac907.tar.bz2
strongswan-af09048e35d46242daf0279a4380fa854a2ac907.tar.xz
get_subject() of a CERT_TRUSTED_PUBKEY object returns ID_PUBKEY_INFO_SHA1 hash consistent with the IKEv2 keyid philosophy
Diffstat (limited to 'src/libstrongswan/plugins/pubkey')
-rw-r--r--src/libstrongswan/plugins/pubkey/pubkey_cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pubkey/pubkey_cert.c b/src/libstrongswan/plugins/pubkey/pubkey_cert.c
index 23058eccf..24a44d1db 100644
--- a/src/libstrongswan/plugins/pubkey/pubkey_cert.c
+++ b/src/libstrongswan/plugins/pubkey/pubkey_cert.c
@@ -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);
}
/**