aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pgp/pgp_cert.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-10-13 14:33:43 +0200
committerTobias Brunner <tobias@strongswan.org>2017-11-08 16:48:10 +0100
commit024b979522fa8cad18bef96208064db5e68e228e (patch)
tree50541da15f4bca39dfb2945f8a876802cdedaff5 /src/libstrongswan/plugins/pgp/pgp_cert.c
parentc2935b03c4477a333e0ccb5d9811af7a89a6fa52 (diff)
downloadstrongswan-024b979522fa8cad18bef96208064db5e68e228e.tar.bz2
strongswan-024b979522fa8cad18bef96208064db5e68e228e.tar.xz
certificate: Return signature scheme and parameters from issued_by() method
This also required some include restructuring (avoid including library.h in headers) to avoid unresolvable circular dependencies.
Diffstat (limited to 'src/libstrongswan/plugins/pgp/pgp_cert.c')
-rw-r--r--src/libstrongswan/plugins/pgp/pgp_cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pgp/pgp_cert.c b/src/libstrongswan/plugins/pgp/pgp_cert.c
index 0ffce4cfc..392ef5440 100644
--- a/src/libstrongswan/plugins/pgp/pgp_cert.c
+++ b/src/libstrongswan/plugins/pgp/pgp_cert.c
@@ -114,7 +114,7 @@ METHOD(certificate_t, has_issuer, id_match_t,
}
METHOD(certificate_t, issued_by,bool,
- private_pgp_cert_t *this, certificate_t *issuer, signature_scheme_t *scheme)
+ private_pgp_cert_t *this, certificate_t *issuer, signature_params_t **scheme)
{
/* TODO: check signature blobs for a valid signature */
return FALSE;