From ba3555e27b383bbd682ce3fa833899eef1c58526 Mon Sep 17 00:00:00 2001 From: reyk Date: Tue, 20 Oct 2015 06:42:59 +0000 Subject: [PATCH] Fix ocsp by adding a missing TAILQ_INIT(). Confirmed by markus@ with an identical diff --- sbin/iked/policy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -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); -- 2.20.1