coupling: Fix call to call_hook()
authorTobias Brunner <tobias@strongswan.org>
Mon, 22 Jul 2013 15:53:56 +0000 (17:53 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 22 Jul 2013 15:53:56 +0000 (17:53 +0200)
src/libcharon/plugins/coupling/coupling_validator.c

index 5a72531..958bd2b 100644 (file)
@@ -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);
                        }
                }