From: tobhe Date: Mon, 15 Feb 2021 20:53:24 +0000 (+0000) Subject: Fix invalid config error in run-psk-fail. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1a8faa4929352c5508462211fa0203358b6c1501;p=openbsd Fix invalid config error in run-psk-fail. --- diff --git a/regress/sbin/iked/live/Makefile b/regress/sbin/iked/live/Makefile index 0c7135ec217..11c30de694b 100644 --- a/regress/sbin/iked/live/Makefile +++ b/regress/sbin/iked/live/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.28 2020/12/17 00:51:12 bluhm Exp $ +# $OpenBSD: Makefile,v 1.29 2021/02/15 20:53:24 tobhe Exp $ # Copyright (c) 2020 Tobias Heider # @@ -374,9 +374,19 @@ run-psk-fail: leftid=left-from-ca-both; \ rightid=right-from-ca-both; \ flowtype=esp; \ - side=left; psk=`openssl rand -hex 20`; \ + side=left; \ + srcid=$$leftid; \ + local=${LEFT_ADDR}; \ + peer=${RIGHT_ADDR}; \ + dstid="dstid $$rightid"; \ + psk=`openssl rand -hex 20`; \ ${SETUP_CONFIG}; \ - side=right; psk=`openssl rand -hex 20`; \ + side=right; \ + srcid=$$rightid; \ + local=${RIGHT_ADDR}; \ + peer=${LEFT_ADDR}; \ + dstid="dstid $$leftid"; \ + psk=`openssl rand -hex 20`; \ ${SETUP_CONFIG}; \ ${DEPLOY_CONFIGS} ${SETUP_START}