You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
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
This commit is contained in:
@@ -305,10 +305,11 @@ my_bool ma_tls_connect(MARIADB_TLS *ctls)
|
||||
my_bool rc= 1;
|
||||
SC_CTX *sctx;
|
||||
SECURITY_STATUS sRet;
|
||||
PCCERT_CONTEXT pRemoteCertContext = NULL,
|
||||
PCCERT_CONTEXT pRemoteCertContext= NULL,
|
||||
pLocalCertContext= NULL;
|
||||
ALG_ID AlgId[MAX_ALG_ID];
|
||||
|
||||
WORD validTokens = 0;
|
||||
|
||||
if (!ctls || !ctls->pvio)
|
||||
return 1;;
|
||||
|
||||
@@ -326,7 +327,6 @@ my_bool ma_tls_connect(MARIADB_TLS *ctls)
|
||||
|
||||
ZeroMemory(&Cred, sizeof(SCHANNEL_CRED));
|
||||
|
||||
WORD validTokens = 0;
|
||||
/* Set cipher */
|
||||
if (mysql->options.ssl_cipher)
|
||||
{
|
||||
|
Reference in New Issue
Block a user