From 7170fe225acf6b04aeb5cf2286b285d8d6e2e177 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Tue, 28 Oct 2025 19:40:08 -0700 Subject: [PATCH] tests: check openssl version compatibility for fuzz tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This check will exclude fuzz tests for Ubuntu Focal as it supports OpenSSL v1.1.1f while CLN requires ≥ v3.0. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 32293fd73..32e95d483 100644 --- a/Makefile +++ b/Makefile @@ -392,7 +392,12 @@ include cln-grpc/Makefile endif include plugins/Makefile include tests/plugins/Makefile + +# Only include fuzz tests if OpenSSL >= 3.0, will be disabled on ubuntu focal +OPENSSL_VERSION := $(shell openssl version | sed -n 's/OpenSSL \([0-9]\+\)\..*/\1/p') +ifneq ($(shell test $(OPENSSL_VERSION) -ge 3 && echo yes),) include tests/fuzz/Makefile +endif ifneq ($V,1) MSGGEN_ARGS := -s