summaryrefslogtreecommitdiff
path: root/include/mysql_async.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql_async.h')
-rw-r--r--include/mysql_async.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/mysql_async.h b/include/mysql_async.h
index 2728b9c1dc7..62e4eaeb5e6 100644
--- a/include/mysql_async.h
+++ b/include/mysql_async.h
@@ -28,10 +28,12 @@ extern ssize_t my_send_async(struct mysql_async_context *b, int fd,
int timeout);
extern my_bool my_io_wait_async(struct mysql_async_context *b,
enum enum_vio_io_event event, int timeout);
-#ifdef HAVE_OPENSSL
-extern int my_ssl_read_async(struct mysql_async_context *b, SSL *ssl,
+#ifdef HAVE_TLS
+extern int my_ssl_read_async(struct mysql_async_context *b,
+ MA_TLS_SESSION ssl,
void *buf, int size);
-extern int my_ssl_write_async(struct mysql_async_context *b, SSL *ssl,
+extern int my_ssl_write_async(struct mysql_async_context *b,
+ MA_TLS_SESSION ssl,
const void *buf, int size);
#endif