ports/databases/mariadb102-server/files/patch-sql-common_client.c
Bernard Spil b007452891 databases/mariadb102-server: Security update to 10.2.15
MFH:		2018Q2
Security:	57aec168-453e-11e8-8777-b499baebfeaf
2018-05-17 18:57:17 +00:00

13 lines
428 B
C

--- sql-common/client.c.orig 2018-01-03 14:48:29.000000000 +0100
+++ sql-common/client.c 2018-01-24 00:45:11.194419000 +0100
@@ -104,6 +104,10 @@
#define CONNECT_TIMEOUT 0
#endif
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) || defined(HAVE_YASSL)
+#define ASN1_STRING_get0_data(X) ASN1_STRING_data(X)
+#endif
+
#include "client_settings.h"
#include <ssl_compat.h>
#include <sql_common.h>