summaryrefslogtreecommitdiff
path: root/src/openvpn/pf.c
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2013-06-03 18:47:54 +0200
committerAlberto Gonzalez Iniesta <agi@inittab.org>2013-06-03 18:47:54 +0200
commitc7f5b684601f45769f7e3252a407be748d1fc2ca (patch)
tree940368aafbfb471169a19bb16a2275be179d4c5a /src/openvpn/pf.c
parent31feacd9451b798cb0b29b42298eddaba3f697ee (diff)
parent70b71e008cc968ee53d6b8af9f7a006f13c27e2a (diff)
Merge tag 'upstream/2.3.2'
Upstream version 2.3.2
Diffstat (limited to 'src/openvpn/pf.c')
-rw-r--r--src/openvpn/pf.c2
1 files changed, 1 insertions, 1 deletions
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;