On Thu, Aug 29, 2019 at 02:21:47PM +0200, Tobias Heider wrote:
> This check is done twice. The diff removes the second one.
>
> ok?

OK bluhm@

> Index: ikev2.c
> ===================================================================
> RCS file: /mount/openbsd/cvs/src/sbin/iked/ikev2.c,v
> retrieving revision 1.174
> diff -u -p -u -r1.174 ikev2.c
> --- ikev2.c   24 Aug 2019 13:09:38 -0000      1.174
> +++ ikev2.c   29 Aug 2019 12:14:43 -0000
> @@ -833,9 +833,6 @@ ikev2_init_recv(struct iked *env, struct
>               break;
>       case IKEV2_EXCHANGE_IKE_AUTH:
>       case IKEV2_EXCHANGE_CREATE_CHILD_SA:
> -             if (ikev2_msg_valid_ike_sa(env, hdr, msg) == -1)
> -                     return;
> -             break;
>       case IKEV2_EXCHANGE_INFORMATIONAL:
>               break;
>       default:

Reply via email to