diff options
author | Martin Willi <martin@strongswan.org> | 2009-09-21 16:47:25 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-09-21 16:47:25 +0200 |
commit | 640ed4d5a502491c6d87b6f3eab492dfa3bcc06d (patch) | |
tree | 97dcec9fc545d6300d8205a202993bf09a6ef7b4 /src/libstrongswan/plugins/openssl/openssl_ec_private_key.c | |
parent | fde7f5abf8b59d7dccd075b05ea3efbc5f9264be (diff) | |
download | strongswan-640ed4d5a502491c6d87b6f3eab492dfa3bcc06d.tar.bz2 strongswan-640ed4d5a502491c6d87b6f3eab492dfa3bcc06d.tar.xz |
Public/Private keys implement a has_fingerprint() method
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_ec_private_key.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_ec_private_key.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |