get_subject() of a CERT_TRUSTED_PUBKEY object returns ID_PUBKEY_INFO_SHA1 hash consis...
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 8 Oct 2008 03:35:52 +0000 (03:35 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 8 Oct 2008 03:35:52 +0000 (03:35 -0000)
src/libstrongswan/plugins/pubkey/pubkey_cert.c

index 23058ec..24a44d1 100644 (file)
@@ -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);
 }
 
 /**
 }
 
 /**