summaryrefslogtreecommitdiff
path: root/vio/viossl.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-09-08 16:18:42 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2018-09-08 20:36:31 +0100
commit4c0d391c92bcf2e1c6c0e970aa698af9b4740b04 (patch)
tree0f5becae389ac4d5a7c80c7fe8eb3ea81e056b29 /vio/viossl.c
parent5a1868b58d26b286b6ad433096e7184895953311 (diff)
downloadmariadb-git-4c0d391c92bcf2e1c6c0e970aa698af9b4740b04.tar.gz
Windows : fix broken build with OpenSSL
Diffstat (limited to 'vio/viossl.c')
-rw-r--r--vio/viossl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/viossl.c b/vio/viossl.c
index 000a526a892..b3e2bca6676 100644
--- a/vio/viossl.c
+++ b/vio/viossl.c
@@ -335,7 +335,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, long timeout,
DBUG_PRINT("info", ("ssl: %p timeout: %ld", ssl, timeout));
SSL_clear(ssl);
SSL_SESSION_set_timeout(SSL_get_session(ssl), timeout);
- SSL_set_fd(ssl, sd);
+ SSL_set_fd(ssl, (int)sd);
/*
Since yaSSL does not support non-blocking send operations, use