summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-10-20 06:43:00 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-10-20 06:43:00 +0000
commit16ecffcebed6f324a4f56be9162ffef6e3a1d28e (patch)
tree16c6794c4d26fd226a9362c07b6ce8ac2d9e0ebf
parent145a30aeb9acb17dfe4bedd76ffc780cffce4be5 (diff)
Fix ocsp by adding a missing TAILQ_INIT().
Confirmed by markus@ with an identical diff
-rw-r--r--sbin/iked/policy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/policy.c b/sbin/iked/policy.c
index 1c85e987e82..0d82d787589 100644
--- a/sbin/iked/policy.c
+++ b/sbin/iked/policy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: policy.c,v 1.40 2015/10/01 10:59:23 reyk Exp $ */
+/* $OpenBSD: policy.c,v 1.41 2015/10/20 06:42:59 reyk Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -47,6 +47,7 @@ void
policy_init(struct iked *env)
{
TAILQ_INIT(&env->sc_policies);
+ TAILQ_INIT(&env->sc_ocsp);
RB_INIT(&env->sc_users);
RB_INIT(&env->sc_sas);
RB_INIT(&env->sc_activesas);