From 70b71e008cc968ee53d6b8af9f7a006f13c27e2a Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Iniesta Date: Mon, 3 Jun 2013 18:47:53 +0200 Subject: Imported Upstream version 2.3.2 --- src/openvpn/pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openvpn/pf.c') diff --git a/src/openvpn/pf.c b/src/openvpn/pf.c index aafe9ff..461beed 100644 --- a/src/openvpn/pf.c +++ b/src/openvpn/pf.c @@ -417,7 +417,7 @@ lookup_cn_rule (struct hash *h, const char *cn, const uint32_t cn_hash) bool pf_cn_test (struct pf_set *pfs, const struct tls_multi *tm, const int type, const char *prefix) { - if (!pfs->kill) + if (pfs && !pfs->kill) { const char *cn; uint32_t cn_hash; -- cgit v1.2.3