summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-02-16 20:40:35 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-02-16 20:40:35 +0000
commit71eb49e4c760514c870ebf9ec7a33502128daa19 (patch)
treeb25ac15b96cfc42c5194b326688c42806cad2eb4 /sbin/isakmpd
parent5c0721459e11dce47bbb72f53b93b1dd182c025f (diff)
check for isakmp_sa->transport != NULL; noticed by bluhm at genua.de ok hshoexer@
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/exchange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c
index 53e4650af46..aee914169ca 100644
--- a/sbin/isakmpd/exchange.c
+++ b/sbin/isakmpd/exchange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exchange.c,v 1.90 2004/02/05 11:01:54 hshoexer Exp $ */
+/* $OpenBSD: exchange.c,v 1.91 2004/02/16 20:40:34 markus Exp $ */
/* $EOM: exchange.c,v 1.143 2000/12/04 00:02:25 angelos Exp $ */
/*
@@ -1518,7 +1518,7 @@ exchange_finalize (struct message *msg)
else
id_doi = "<no doi>";
- if (msg->isakmp_sa)
+ if (msg->isakmp_sa && msg->isakmp_sa->transport)
id_trp = msg->isakmp_sa->transport->vtbl->decode_ids
(msg->isakmp_sa->transport);
else