summaryrefslogtreecommitdiff
path: root/include/violite.h
diff options
context:
space:
mode:
authorgluh@gluh.(none) <>2002-11-05 12:05:58 +0400
committergluh@gluh.(none) <>2002-11-05 12:05:58 +0400
commit7bf903ea1044ad3776a6e688d437a21efaa84e18 (patch)
treee27e1d7b216164535ab3100467fa0dea7d08a146 /include/violite.h
parent808d87f810e3b4016c12c63109f3a5d42e337d7b (diff)
downloadmariadb-git-7bf903ea1044ad3776a6e688d437a21efaa84e18.tar.gz
Error code for ssl connection
Fix bug when server hang(with SSL, with modified libmysql) Add options master-ssl-capath and master-ssl-cipher Add some error checking(SSL)
Diffstat (limited to 'include/violite.h')
-rw-r--r--include/violite.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/violite.h b/include/violite.h
index f4f40dcb64b..6c8ad1f4b69 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -174,7 +174,7 @@ struct st_VioSSLConnectorFd
SSL_METHOD* ssl_method_;
};
-void sslaccept(struct st_VioSSLAcceptorFd*, Vio*, long timeout);
+int sslaccept(struct st_VioSSLAcceptorFd*, Vio*, long timeout);
int sslconnect(struct st_VioSSLConnectorFd*, Vio*, long timeout);
struct st_VioSSLConnectorFd
@@ -231,7 +231,6 @@ struct st_vio
#ifdef HAVE_OPENSSL
SSL* ssl_;
- my_bool open_;
#endif /* HAVE_OPENSSL */
#endif /* HAVE_VIO */
};