From: reyk Date: Tue, 20 Oct 2015 06:42:59 +0000 (+0000) Subject: Fix ocsp by adding a missing TAILQ_INIT(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ba3555e27b383bbd682ce3fa833899eef1c58526;p=openbsd Fix ocsp by adding a missing TAILQ_INIT(). Confirmed by markus@ with an identical diff --- 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);