diff options
author | 2004-02-16 20:40:34 +0000 | |
---|---|---|
committer | 2004-02-16 20:40:34 +0000 | |
commit | 15a4fd03bacd10ccb1d0c2b20b21d7f3c1a79e55 (patch) | |
tree | f82b054d7d3ae8c13b2047a0e6b50003167b3d90 | |
parent | make -b and -c work with large offsets; tweak from millert@ (diff) | |
download | wireguard-openbsd-15a4fd03bacd10ccb1d0c2b20b21d7f3c1a79e55.tar.xz wireguard-openbsd-15a4fd03bacd10ccb1d0c2b20b21d7f3c1a79e55.zip |
check for isakmp_sa->transport != NULL; noticed by bluhm at genua.de ok hshoexer@
-rw-r--r-- | sbin/isakmpd/exchange.c | 4 |
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 |