Commit d251b768 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix warning when compiling with OpenSSL.

parent 7e7b6ec4
......@@ -333,7 +333,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment