diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-01-01 19:15:46 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-01-02 11:56:41 +0200 |
commit | c1a7a82bcac4b8694bdb79c665b42de7a3865d05 (patch) | |
tree | 7ccb506e49974c1f7f542531153050782036004c /include | |
parent | 3454b5cf35a61e8f6cfab376638520dee4a50609 (diff) | |
download | mariadb-git-c1a7a82bcac4b8694bdb79c665b42de7a3865d05.tar.gz |
WolfSSL v4.6.0-stable
Diffstat (limited to 'include')
-rw-r--r-- | include/ssl_compat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ssl_compat.h b/include/ssl_compat.h index 8cc0e6a9a2b..9f4b6be8d95 100644 --- a/include/ssl_compat.h +++ b/include/ssl_compat.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2016, 2017 MariaDB Corporation + Copyright (c) 2016, 2021, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -73,19 +73,19 @@ #define EVP_MD_CTX_SIZE sizeof(EVP_MD_CTX) #endif -#define OPENSSL_init_ssl(X,Y) SSL_library_init() #define DH_set0_pqg(D,P,Q,G) ((D)->p= (P), (D)->g= (G)) #define EVP_CIPHER_CTX_buf_noconst(ctx) ((ctx)->buf) #define EVP_CIPHER_CTX_encrypting(ctx) ((ctx)->encrypt) #define EVP_CIPHER_CTX_SIZE sizeof(EVP_CIPHER_CTX) #ifndef HAVE_WOLFSSL +#define OPENSSL_init_ssl(X,Y) SSL_library_init() #define EVP_MD_CTX_reset(X) EVP_MD_CTX_cleanup(X) #define EVP_CIPHER_CTX_reset(X) EVP_CIPHER_CTX_cleanup(X) -#endif #define X509_get0_notBefore(X) X509_get_notBefore(X) #define X509_get0_notAfter(X) X509_get_notAfter(X) #endif +#endif #ifndef TLS1_3_VERSION #define SSL_CTX_set_ciphersuites(X,Y) 0 |