diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-02-27 19:14:58 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-02-27 19:14:58 +0000 |
commit | bdb44c43bd8d90dd3e77ea187fdaed8d1934ad1c (patch) | |
tree | 0c45142558a3ca54352ba23edcef4b1ca22d01aa /sbin/isakmpd | |
parent | cb049b6a2ff73dc037900f5b66ca672bb9107219 (diff) |
Remove dead code.
ok ho@
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/ipsec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/isakmpd/ipsec.c b/sbin/isakmpd/ipsec.c index 5e55cd6aca5..c32928ad88a 100644 --- a/sbin/isakmpd/ipsec.c +++ b/sbin/isakmpd/ipsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec.c,v 1.85 2004/01/03 16:38:13 ho Exp $ */ +/* $OpenBSD: ipsec.c,v 1.86 2004/02/27 19:14:57 hshoexer Exp $ */ /* $EOM: ipsec.c,v 1.143 2000/12/11 23:57:42 niklas Exp $ */ /* @@ -877,10 +877,8 @@ ipsec_validate_situation (u_int8_t *buf, size_t *sz) return sit & ~(IPSEC_SIT_IDENTITY_ONLY | IPSEC_SIT_SECRECY | IPSEC_SIT_INTEGRITY); #else - return sit & ~IPSEC_SIT_IDENTITY_ONLY; + return sit & ~IPSEC_SIT_IDENTITY_ONLY; #endif - return 1; - return 0; } static int |