From 44cc784e26eede7eb920ae99f3a4457c1e0941ad Mon Sep 17 00:00:00 2001
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Thu, 14 May 2020 13:02:09 +0900
Subject: [PATCH] interop: Enable chacha20 test case

---
 interop/run_endpoint.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/interop/run_endpoint.sh b/interop/run_endpoint.sh
index 042f9dd5..1dc48d73 100644
--- a/interop/run_endpoint.sh
+++ b/interop/run_endpoint.sh
@@ -9,7 +9,7 @@
 # - CLIENT_PARAMS contains user-supplied command line parameters
 
 case $TESTCASE in
-    versionnegotiation|handshake|transfer|retry|resumption|http3|multiconnect|zerortt)
+    versionnegotiation|handshake|transfer|retry|resumption|http3|multiconnect|zerortt|chacha20)
 	:
 	;;
     *)
@@ -26,6 +26,9 @@ if [ "$ROLE" == "client" ]; then
     if [ "$TESTCASE" == "versionnegotiation" ]; then
         CLIENT_ARGS="$CLIENT_ARGS -v 0xaaaaaaaa"
     fi
+    if [ "$TESTCASE" == "chacha20" ]; then
+	CLIENT_ARGS="$CLIENT_ARGS --ciphers=TLS_CHACHA20_POLY1305_SHA256"
+    fi
     if [ "$TESTCASE" == "resumption" ] || [ "$TESTCASE" == "zerortt" ]; then
 	CLIENT_ARGS="$CLIENT_ARGS --session-file session.txt --tp-file tp.txt"
 	if [ "$TESTCASE" == "resumption" ]; then
-- 
GitLab