aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pubkey/pubkey_cert.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-06-11 14:33:34 +0200
committerMartin Willi <martin@revosec.ch>2012-06-12 14:24:49 +0200
commita37f2d2006e74bce8614ebf13b45c7a7e9851f83 (patch)
tree3372f601ece522e8a171d62e436274ac213038b7 /src/libstrongswan/plugins/pubkey/pubkey_cert.c
parent439d0742e907a5a56005acad17b0bfe1082bdf24 (diff)
downloadstrongswan-a37f2d2006e74bce8614ebf13b45c7a7e9851f83.tar.bz2
strongswan-a37f2d2006e74bce8614ebf13b45c7a7e9851f83.tar.xz
certificate_t->issued_by takes an argument to receive signature scheme
Diffstat (limited to 'src/libstrongswan/plugins/pubkey/pubkey_cert.c')
-rw-r--r--src/libstrongswan/plugins/pubkey/pubkey_cert.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pubkey/pubkey_cert.c b/src/libstrongswan/plugins/pubkey/pubkey_cert.c
index 67240fe0c..0304ccb36 100644
--- a/src/libstrongswan/plugins/pubkey/pubkey_cert.c
+++ b/src/libstrongswan/plugins/pubkey/pubkey_cert.c
@@ -126,8 +126,13 @@ METHOD(certificate_t, equals, bool,
}
METHOD(certificate_t, issued_by, bool,
- private_pubkey_cert_t *this, certificate_t *issuer)
+ private_pubkey_cert_t *this, certificate_t *issuer,
+ signature_scheme_t *scheme)
{
+ if (scheme)
+ {
+ *scheme = SIGN_UNKNOWN;
+ }
return equals(this, issuer);
}