diff options
Diffstat (limited to 'sbin/iked/ikev2.c')
-rw-r--r-- | sbin/iked/ikev2.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index f3fe1975f82..2d6df4d1e14 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.98 2014/03/12 11:57:54 markus Exp $ */ +/* $OpenBSD: ikev2.c,v 1.99 2014/03/12 14:28:09 markus Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -4395,11 +4395,6 @@ ikev2_drop_sa(struct iked *env, struct iked_spi *drop) return; } - if ((buf = ibuf_static()) == NULL) - goto done; - if ((del = ibuf_advance(buf, sizeof(*del))) == NULL) - goto done; - if (csa->csa_allocated) spi32 = htobe32(csa->csa_spi.spi); else |