From: Eugene Syromiatnikov Date: Sat, 27 Jun 2026 10:32:52 +0000 (+0200) Subject: demos/sslecho/echecho.c: use X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=936a9ce2838f75ca64d45ee7a89ec8cf84d6e335;p=thirdparty%2Fopenssl.git demos/sslecho/echecho.c: use ...instead of defining it (incorrectly). Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs." Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Bob Beck MergeDate: Mon Jul 20 11:18:58 2026 (Merged from https://github.com/openssl/openssl/pull/31751) --- diff --git a/demos/sslecho/echecho.c b/demos/sslecho/echecho.c index 44fe11e4ce3..3977f6756e6 100644 --- a/demos/sslecho/echecho.c +++ b/demos/sslecho/echecho.c @@ -7,6 +7,7 @@ * https://www.openssl.org/source/license.html */ +#include #include #include #include @@ -29,10 +30,6 @@ static const char echprivbuf[] "AQALZXhhbXBsZS5jb20AAA==\n" "-----END ECHCONFIG-----\n"; -typedef unsigned char bool; -#define true 1 -#define false 0 - /* * This flag won't be useful until both accept/read (TCP & SSL) methods * can be called with a timeout. TBD.