summaryrefslogtreecommitdiff
path: root/extra/yassl/include
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-09-11 12:29:37 +0200
committerSergei Golubchik <serg@mariadb.org>2017-09-18 10:12:23 +0200
commitbba169b984fdee72e7e727696ff0f921acae07e0 (patch)
tree451e42894d79a879472afd55f0d85dbd9eaf6b95 /extra/yassl/include
parent031a0404e7b946179d0e8d155717b46d4547ab95 (diff)
downloadmariadb-git-bba169b984fdee72e7e727696ff0f921acae07e0.tar.gz
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.
Diffstat (limited to 'extra/yassl/include')
-rw-r--r--extra/yassl/include/openssl/ssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/yassl/include/openssl/ssl.h b/extra/yassl/include/openssl/ssl.h
index 9ec99b46c1f..ede4581fa13 100644
--- a/extra/yassl/include/openssl/ssl.h
+++ b/extra/yassl/include/openssl/ssl.h
@@ -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"