1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

OpenSSL 3 support for Columnstore

This commit is contained in:
Leonid Fedorov
2022-02-17 14:22:49 +00:00
parent 3ad3e4a9c5
commit b5ccd52c09
4 changed files with 25 additions and 4 deletions

View File

@ -18,10 +18,17 @@
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <openssl/opensslv.h>
#include "secrets.h"
#include "mcsconfig.h"
#ifdef OPENSSL_VERSION_PREREQ
#if OPENSSL_VERSION_PREREQ(3,0)
#define EVP_CIPHER_key_length EVP_CIPHER_get_key_length
#endif
#endif
using std::string;
using ByteVec = std::vector<uint8_t>;