Remove WITH_OPENSSL from all files except http_client, always require OpenSSL

This commit is contained in:
Vitaliy Filippov
2026-07-05 14:58:24 +03:00
parent 32e651ec96
commit 61ce26ba29
10 changed files with 1 additions and 66 deletions
-6
View File
@@ -1,9 +1,7 @@
// Copyright (c) Vitaliy Filippov, 2019+
// License: VNPL-1.1 (see README.md for details)
#ifdef WITH_OPENSSL
#include <openssl/rand.h>
#endif
#include <stdio.h>
#include <stdlib.h>
@@ -654,7 +652,6 @@ void test_writeback_queue_split()
printf("[ok] test_writeback_queue_split\n");
}
#ifdef WITH_OPENSSL
void test_msgr_encrypt()
{
const size_t sz = 1048576;
@@ -823,7 +820,6 @@ void test_msgr_decrypt_chain()
free(src);
printf("[ok] msgr aes-xts chained decrypt\n");
}
#endif
void cluster_client_test_t::test_vault()
{
@@ -893,10 +889,8 @@ int main(int narg, char *args[])
test_writeback();
test_writeback_merge();
test_writeback_queue_split();
#ifdef WITH_OPENSSL
test_msgr_encrypt();
test_msgr_decrypt_chain();
#endif
cluster_client_test_t::test_vault();
return 0;
}