From: Tobias Brunner Date: Mon, 22 Jul 2013 15:53:56 +0000 (+0200) Subject: coupling: Fix call to call_hook() X-Git-Tag: 5.1.0~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62293ed27116e816fb38451c2d0ecf7f6b39e508;p=thirdparty%2Fstrongswan.git coupling: Fix call to call_hook() --- diff --git a/src/libcharon/plugins/coupling/coupling_validator.c b/src/libcharon/plugins/coupling/coupling_validator.c index 5a72531fa4..958bd2b6dc 100644 --- a/src/libcharon/plugins/coupling/coupling_validator.c +++ b/src/libcharon/plugins/coupling/coupling_validator.c @@ -167,7 +167,7 @@ METHOD(cert_validator_t, validate, bool, { DBG1(DBG_CFG, "coupling new certificate '%Y' failed", subject->get_subject(subject)); - lib->credmgr->call_hook(lib->credmgr + lib->credmgr->call_hook(lib->credmgr, CRED_HOOK_POLICY_VIOLATION, subject); } }