diff options
-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 |