mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Do not encrypt xnet connections
This commit is contained in:
parent
912e3698dd
commit
3947227e43
@ -1540,6 +1540,12 @@ void SRVR_multi_thread( rem_port* main_port, USHORT flags)
|
||||
|
||||
bool wireEncryption(rem_port* port, ClumpletReader& id)
|
||||
{
|
||||
if (port->port_type == rem_port::XNET) // local connection
|
||||
{
|
||||
port->port_required_encryption = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
int clientCrypt = id.find(CNCT_client_crypt) ? id.getInt() : WIRE_CRYPT_ENABLED;
|
||||
int serverCrypt = port->getPortConfig()->getWireCrypt(WC_SERVER);
|
||||
if (wcCompatible[clientCrypt][serverCrypt] < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user