Skip to content

Commit

Permalink
try this instead to make it build without OpenSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 10, 2024
1 parent 5a603dd commit d407f07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bin/radclient-ng.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ static int _rc_request_free(rc_request_t *request)
return 0;
}

#ifdef HAVE_OPENSSL_SSL_H
#include <openssl/provider.h>

static OSSL_PROVIDER *openssl_default_provider = NULL;
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit d407f07

Please sign in to comment.