Remove WITH_OPENSSL from all files except http_client, always require OpenSSL

This commit is contained in:
Vitaliy Filippov
2026-04-27 15:24:44 +03:00
parent 03e15338e5
commit 17cb875e10
10 changed files with 1 additions and 66 deletions
-4
View File
@@ -9,12 +9,10 @@
#ifdef WITH_RDMA
#include "msgr_rdma.h"
#endif
#ifdef WITH_OPENSSL
#include <openssl/bio.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#endif
void osd_client_t::cancel_ops()
{
@@ -248,7 +246,6 @@ osd_client_t::~osd_client_t()
XXH3_freeState(write_csum_state);
write_csum_state = NULL;
}
#ifdef WITH_OPENSSL
if (enc_ctx)
{
EVP_CIPHER_CTX_free(enc_ctx);
@@ -271,5 +268,4 @@ osd_client_t::~osd_client_t()
free(ssl_out_buf);
ssl_out_buf = NULL;
}
#endif
}