From: Eugene Syromiatnikov Date: Fri, 26 Jun 2026 17:23:21 +0000 (+0200) Subject: demos: wire up echecho X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef6f59329d8e795d5a09ff784bf6e0aae2d2f123;p=thirdparty%2Fopenssl.git demos: wire up echecho Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs." Reported-by: Frederik Wedel-Heinen Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Bob Beck MergeDate: Mon Jul 20 11:19:04 2026 (Merged from https://github.com/openssl/openssl/pull/31751) --- diff --git a/demos/README.txt b/demos/README.txt index ff42e4f0376..9caafcad772 100644 --- a/demos/README.txt +++ b/demos/README.txt @@ -84,4 +84,5 @@ rsa_pss_hash.c Compute and verify an RSA-PSS signature over a buffer smime: Demonstrations related to S/MIME sslecho: +echecho.c Simple SSL/TLS echo client/server that uses ECH. main.c Simple SSL/TLS echo client/server. diff --git a/demos/sslecho/build.info b/demos/sslecho/build.info index d42716cd510..7784357ed6b 100644 --- a/demos/sslecho/build.info +++ b/demos/sslecho/build.info @@ -6,6 +6,15 @@ PROGRAMS{noinst} = sslecho + INCLUDE[sslecho]=../../include SOURCE[sslecho]=main.c DEPEND[sslecho]=../../libcrypto ../../libssl + +IF[{- !$disabled{"ech"} -}] + PROGRAMS{noinst} = echecho + + INCLUDE[echecho]=../../include + SOURCE[echecho]=echecho.c + DEPEND[echecho]=../../libcrypto ../../libssl +ENDIF