mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Adjust OpenSSL context sizes for CiscoSSL
also, add static
This commit is contained in:
@@ -24,8 +24,8 @@
|
|||||||
#define HAVE_OPENSSL11 1
|
#define HAVE_OPENSSL11 1
|
||||||
#define SSL_LIBRARY OpenSSL_version(OPENSSL_VERSION)
|
#define SSL_LIBRARY OpenSSL_version(OPENSSL_VERSION)
|
||||||
#define ERR_remove_state(X) ERR_clear_error()
|
#define ERR_remove_state(X) ERR_clear_error()
|
||||||
#define EVP_CIPHER_CTX_SIZE 176
|
#define EVP_CIPHER_CTX_SIZE 200
|
||||||
#define EVP_MD_CTX_SIZE 48
|
#define EVP_MD_CTX_SIZE 80
|
||||||
#undef EVP_MD_CTX_init
|
#undef EVP_MD_CTX_init
|
||||||
#define EVP_MD_CTX_init(X) do { memset((X), 0, EVP_MD_CTX_SIZE); EVP_MD_CTX_reset(X); } while(0)
|
#define EVP_MD_CTX_init(X) do { memset((X), 0, EVP_MD_CTX_SIZE); EVP_MD_CTX_reset(X); } while(0)
|
||||||
#undef EVP_CIPHER_CTX_init
|
#undef EVP_CIPHER_CTX_init
|
||||||
|
@@ -33,7 +33,7 @@ int check_openssl_compatibility()
|
|||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
static uint testing;
|
static uint testing;
|
||||||
size_t alloc_size, alloc_count;
|
static size_t alloc_size, alloc_count;
|
||||||
|
|
||||||
static void *coc_malloc(size_t size, const char *f __attribute__((unused)),
|
static void *coc_malloc(size_t size, const char *f __attribute__((unused)),
|
||||||
int l __attribute__((unused)))
|
int l __attribute__((unused)))
|
||||||
|
Reference in New Issue
Block a user