Lawrin Novitsky
63d70147fe
Moved c++ish declaration in the ma_tls_connect(libmariadb/secure/schannel.c) to other declarations on top of the function. It prevernted build at least with vs2010
2016-07-09 14:03:23 +02:00
vvaintroub
49527f7590
Fix errors in openssl_1 test suite.
...
Provide mapping between openssl and schannel test suite ids.
This mapping is currently incomplete
2016-05-11 12:41:57 +00:00
buildbot
6190f608f9
Fix schannel problems that popup on Win2012 R2 buildbot
...
- Do not acquire a named context, because this might run
into permissions problem.
- Avoid sending TLS1.2 version by default. Yassl wrongfully rejects it
with a bad handshake (it should consider that 1.1 and 1.0 are supported too
but it does not)
2016-04-05 19:39:42 +00:00
buildbot
ec878da68f
Fix duplicate CertFreeCertificateContext()
...
in case ma_schannel_load_private_key() fails
Also fix error checking for CryptAcquireContext
2016-04-05 16:08:36 +00:00
Georg Richter
b4efe73c9e
session tracking implementation (10.2-integration):
...
- At the moment the following session tracking types are supported:
SESSION_TRACK_SCHEMA
SESSION_TRACK_SYSTEM_VARIABLES
SESSION_TRACK_STATE_CHANGE
SESSION_TRACK_TRANSACTION_CHARACTERISTICS
- New API functions
mysql_session_track_get_next
mysql_session_track_get_first
2016-03-31 08:41:12 +02:00
Georg Richter
ab393c9df5
Added tls_version support for schannel. tls_version has to be specified
...
via mysql_options(mysql, MARIADB_OPT_TLS_VERSION, ...)
2016-03-16 18:30:28 +01:00
Georg Richter
4b1e94bccc
Since we use TLS and not SSL functions and structures were renamed
...
from SSL to TLS
2016-03-16 18:20:08 +01:00
Georg Richter
2f6cc35a44
Disable TLSv_1.2 in schannel for now, we need a separate option for,
...
since we will not be able to talk to servers built with yassl
2016-02-24 10:41:17 +01:00
Georg Richter
509b948e7d
SSL fixes:
...
- added MARIADB_OPT_SSL_CIPHER_STRENGTH (value uint) for Schannel
- fixed mutes in all ssl variants
2016-02-16 13:04:16 +01:00
Georg Richter
f62a2e0270
Fixed several memory leaks in ma_ssl.c
2016-01-07 13:23:28 +01:00
Georg Richter
d73e4c23a2
Added new API function mysql_get_info/mysql_get_infov which retrieves
...
global or connection dependent information:
mysql_get_infov(MYSQL *mysql, enum mariadb_value value, void *arg, ...)
the following value types are supported:
MARIADB_CHARSET_ID (requires numeric 4th parameter)
MARIADB_CHARSET_INFO (requires string 4th parameter)
MARIADB_CHARSET_NAME
MARIADB_CLIENT_ERRORS
MARIADB_CLIENT_VERSION
MARIADB_CLIENT_VERSION_ID
MARIADB_CONNECTION_ASYNC_TIMEOUT
MARIADB_CONNECTION_ASYNC_TIMEOUT_MS
MARIADB_CONNECTION_HOST
MARIADB_CONNECTION_INFO
MARIADB_CONNECTION_PORT
MARIADB_CONNECTION_PROTOCOL_VERSION_ID
MARIADB_CONNECTION_PVIO_TYPE
MARIADB_CONNECTION_SCHEMA
MARIADB_CONNECTION_SERVER_TYPE
MARIADB_CONNECTION_SERVER_VERSION
MARIADB_CONNECTION_SERVER_VERSION_ID
MARIADB_CONNECTION_SOCKET
MARIADB_CONNECTION_SSL_CIPHER
MARIADB_CONNECTION_SSL_VERSION
MARIADB_CONNECTION_SSL_VERSION_ID
MARIADB_CONNECTION_TYPE
MARIADB_CONNECTION_UNIX_SOCKET
MARIADB_CONNECTION_USER
MARIADB_MAX_ALLOWED_PACKET
MARIADB_NET_BUFFER_LENGTH
MARIADB_CONNECTION prefix indicates that a valid connection handle has
to be passed as first parameter.
2015-12-28 07:32:53 +01:00
Georg Richter
72f7c4abf5
Windows 64-bit fixes:
...
changed type of length parameter in mysql_stmt_prepare,
mysql_real_query, mysql_stmt_send_long_data (incl. async _start
functions) from unsigned long to size_t.
Fixed warnings
2015-11-05 11:52:50 +01:00
Georg Richter
52d81af962
- Windows build fixes
...
- Don't unlock mutex in schannel initialization if not required
2015-10-29 06:54:23 +01:00
Georg Richter
7500f37150
- Renamed cio to pvio (pluggable virtual IO)
...
- minor fixes in windows schannel
2015-10-27 10:24:48 +01:00
Georg Richter
4597cd6a80
Various ssl and schannel fixes
2015-09-10 17:16:21 +02:00
Georg Richter
23895fbd4f
Fixed gnutls support
2015-08-13 14:01:33 +02:00