• Tatjana Azundris Nuernberg's avatar
    Bug#11745920/Bug#21287: "SSL connection error" is not helpful!... · 639b5202
    Tatjana Azundris Nuernberg authored
    Bug#11745920/Bug#21287: "SSL connection error" is not helpful! (ssl-verify-server-cert=true vs localhos)
    
    SSL errors on client and now more specific to aid end-user
    with debugging. Also restructures error handling for
    compliance with SSL docs.
    
    include/violite.h:
      new_VioSSLConnectorFd/sslaccept/sslconnect return more elaborate status
    libmysql/errmsg.c:
      SSL errors now extended, more specific
    mysql-test/r/openssl_1.result:
      SSL errors now extended, more specific
    sql-common/client.c:
      Do more detailed error reporting for setup, connect, and
      server cert verifying phases.
    sql/sql_acl.cc:
      sslaccept() signature has changed
    vio/viossl.c:
      Save the error code and return it to callers of sslaccept
      and sslconnect.
    vio/viosslfactories.c:
      new_VioSSLConnectorFd(): return error code to caller
    639b5202
test-sslclient.c 2.97 KB