mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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) include/errmsg.h: Error code for SSL connection include/violite.h: Change return value in sslaccept Remove unused variable open_ libmysql/errmsg.c: Add client side descriptive message when ssl handshake fail libmysql/libmysql.c: Add ssl error code Add proper error checking sql/mysqld.cc: Add options master-ssl-capath and master-ssl-cipher sql/sql_parse.cc: Add error checking after sslaccept vio/viossl.c: Add ssl handshake error cheking vio/viosslfactories.c: Change error description when using wrong key or certificate
This commit is contained in:
@ -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 */
|
||||
};
|
||||
|
Reference in New Issue
Block a user