From: Todd Short Date: Mon, 5 Dec 2022 15:30:27 +0000 (-0500) Subject: Fix `no-ec enable-ktls` build X-Git-Tag: openssl-3.2.0-alpha1~1610 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dded44a4911250acb989a535d2bad0bcf0ccc78;p=thirdparty%2Fopenssl.git Fix `no-ec enable-ktls` build The KTLS test uses a TLSv1.2 cipher that uses ECDHE Reviewed-by: Matt Caswell Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/19841) --- diff --git a/test/sslapitest.c b/test/sslapitest.c index 074a9575760..3cb355a2eac 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -1450,7 +1450,9 @@ static struct ktls_test_cipher { { TLS1_2_VERSION, "AES256-GCM-SHA384"}, # endif # ifdef OPENSSL_KTLS_CHACHA20_POLY1305 +# ifndef OPENSSL_NO_EC { TLS1_2_VERSION, "ECDHE-RSA-CHACHA20-POLY1305"}, +# endif # endif # endif # if !defined(OSSL_NO_USABLE_TLS1_3)