From 640ed4d5a502491c6d87b6f3eab492dfa3bcc06d Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 21 Sep 2009 16:47:25 +0200 Subject: Public/Private keys implement a has_fingerprint() method --- src/libstrongswan/plugins/openssl/openssl_ec_private_key.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstrongswan/plugins/openssl/openssl_ec_private_key.c') diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_private_key.c b/src/libstrongswan/plugins/openssl/openssl_ec_private_key.c index 853314069..89ced5a9a 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_private_key.c +++ b/src/libstrongswan/plugins/openssl/openssl_ec_private_key.c @@ -284,6 +284,7 @@ static private_openssl_ec_private_key_t *create_empty(void) this->public.interface.equals = private_key_equals; this->public.interface.belongs_to = private_key_belongs_to; this->public.interface.get_fingerprint = (bool(*)(private_key_t*, key_encoding_type_t type, chunk_t *fp))get_fingerprint; + this->public.interface.has_fingerprint = (bool(*)(private_key_t*, chunk_t fp))private_key_has_fingerprint; this->public.interface.get_encoding = (bool(*)(private_key_t*, key_encoding_type_t type, chunk_t *encoding))get_encoding; this->public.interface.get_ref = (private_key_t* (*)(private_key_t *this))get_ref; this->public.interface.destroy = (void (*)(private_key_t *this))destroy; -- cgit v1.2.3