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_public_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_public_key.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_ec_public_key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_public_key.c b/src/libstrongswan/plugins/openssl/openssl_ec_public_key.c index f553c263a..f37c736b1 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_public_key.c +++ b/src/libstrongswan/plugins/openssl/openssl_ec_public_key.c @@ -297,6 +297,7 @@ static private_openssl_ec_public_key_t *create_empty() this->public.interface.get_keysize = (size_t (*) (public_key_t *this))get_keysize; this->public.interface.equals = public_key_equals; this->public.interface.get_fingerprint = (bool(*)(public_key_t*, key_encoding_type_t type, chunk_t *fp))get_fingerprint; + this->public.interface.has_fingerprint = (bool(*)(public_key_t*, chunk_t fp))public_key_has_fingerprint; this->public.interface.get_encoding = (bool(*)(public_key_t*, key_encoding_type_t type, chunk_t *encoding))get_encoding; this->public.interface.get_ref = (public_key_t* (*)(public_key_t *this))get_ref; this->public.interface.destroy = (void (*)(public_key_t *this))destroy; |