mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
MDEV-12763 10.2 uses deprecated openssl 1.0 apis even with 1.1
Use OpenSSL 1.1 when applicable. Create compatibility macros for OpenSSL 1.0- and YaSSL.
This commit is contained in:
parent
031a0404e7
commit
bba169b984
7 changed files with 31 additions and 19 deletions
|
|
@ -540,7 +540,7 @@ void MD5_Final(unsigned char*, MD5_CTX*);
|
|||
|
||||
/* yaSSL extensions */
|
||||
int SSL_set_compression(SSL*); /* turn on yaSSL zlib compression */
|
||||
char *yaSSL_ASN1_TIME_to_string(ASN1_TIME *time, char *buf, size_t len);
|
||||
char *yaSSL_ASN1_TIME_to_string(const ASN1_TIME *time, char *buf, size_t len);
|
||||
|
||||
#include "transport_types.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1736,7 +1736,7 @@ unsigned long ERR_get_error()
|
|||
|
||||
// end stunnel needs
|
||||
|
||||
char *yaSSL_ASN1_TIME_to_string(ASN1_TIME *time, char *buf, size_t len)
|
||||
char *yaSSL_ASN1_TIME_to_string(const ASN1_TIME *time, char *buf, size_t len)
|
||||
{
|
||||
tm t;
|
||||
static const char *month_names[12]=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue