From d407f07853d110b42f85330796503e60c258d0e8 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Thu, 10 Oct 2024 09:33:43 -0400 Subject: [PATCH] try this instead to make it build without OpenSSL --- src/bin/radclient-ng.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/radclient-ng.c b/src/bin/radclient-ng.c index bef53a0fb1a9..c3e35c70b2f2 100644 --- a/src/bin/radclient-ng.c +++ b/src/bin/radclient-ng.c @@ -205,6 +205,7 @@ static int _rc_request_free(rc_request_t *request) return 0; } +#ifdef HAVE_OPENSSL_SSL_H #include static OSSL_PROVIDER *openssl_default_provider = NULL; @@ -247,6 +248,10 @@ static void openssl3_free(void) } openssl_legacy_provider = NULL; } +#else +#define openssl3_init() +#define openssl3_free() +#endif static int _loop_status(UNUSED fr_time_t now, fr_time_delta_t wake, UNUSED void *ctx) {