]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
demos: wire up echecho
authorEugene Syromiatnikov <esyr@openssl.org>
Fri, 26 Jun 2026 17:23:21 +0000 (19:23 +0200)
committerNorbert Pocs <norbertp@openssl.org>
Mon, 20 Jul 2026 11:18:33 +0000 (13:18 +0200)
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 <frederik.wedel-heinen@dencrypt.dk>
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Bob Beck <beck@openssl.org>
MergeDate: Mon Jul 20 11:19:04 2026
(Merged from https://github.com/openssl/openssl/pull/31751)

demos/README.txt
demos/sslecho/build.info

index ff42e4f0376272439a8247a7946cf1bde990d254..9caafcad7727cc631814353266b8ac2e3ee20523 100644 (file)
@@ -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.
index d42716cd5103cf23c176f275366088fa9d17df05..7784357ed6bb333724cfa4bead6b8cf378a9a187 100644 (file)
@@ -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