ports/databases/mariadb102-server/files/patch-sql-common_client.c
Bernard Spil 302d685ac6 databases/mariadb102-server: Add MariaDB 10.2 ports
- Add mariadb102-client port
 - Add RocksDB storage engine
 - Add non-base page compressors
 - First sweep at making cmake patches upstreamable
2017-05-28 20:52:49 +00:00

13 lines
409 B
C

--- sql-common/client.c.orig 2017-05-14 23:13:18 UTC
+++ sql-common/client.c
@@ -104,6 +104,10 @@ my_bool net_flush(NET *net);
#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>