mariadb/vio
Staale Smedseng 1e32574c65 Bug #45770 errors reading server SSL files are printed, but
not logged
        
Errors encountered during initialization of the SSL subsystem
are printed to stderr, rather than to the error log.
        
This patch adds a parameter to several SSL init functions to
report the error (if any) out to the caller. The function
init_ssl() in mysqld.cc is moved after the initialization of
the log subsystem, so that any error messages can be logged to
the error log. Printing of messages to stderr has been 
retained to get diagnostic output in a client context.


include/violite.h:
  Adding an enumeration for the various errors that can
  occur during initialization of the SSL module.
sql/mysqld.cc:
  Adding more logging of SSL init errors, and moving
  init_ssl() till after initialization of logging 
  subsystem.
vio/viosslfactories.c:
  Define error strings, provide an access method for these
  strings, and maintain an error parameter in several funcs
  to return the error (if any) to the caller.
2009-07-23 13:38:11 +02:00
..
docs Fixed searching after ssl directories. 2002-09-05 16:17:08 +03:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
test-ssl.c Many files: 2006-12-23 20:17:15 +01:00
test-sslclient.c Many files: 2006-12-23 20:17:15 +01:00
test-sslserver.c Many files: 2006-12-23 20:17:15 +01:00
vio.c Bug#25203 Mysql crashes when mysql_kill() is executed in a connection using SSL 2007-01-26 11:30:54 +01:00
vio_priv.h Bug#26664 test suite times out on OS X 64bit 2007-05-24 11:21:27 +02:00
viosocket.c Bug#33899: Deadlock in mysql_real_query with shared memory connections 2009-03-26 20:17:27 -03:00
viossl.c Bug#33050 5.0.50 fails many SSL testcases 2008-02-07 08:48:28 +01:00
viosslfactories.c Bug #45770 errors reading server SSL files are printed, but 2009-07-23 13:38:11 +02:00
viotest-ssl.c Many files: 2006-12-23 20:17:15 +01:00
viotest-sslconnect.cc Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00
viotest.cc Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00