• unknown's avatar
    Error code for ssl connection · 74a99e4a
    unknown authored
    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
    74a99e4a
viossl.c 9.63 KB