MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / tryNewKeys

Method tryNewKeys

src/remote/client/interface.cpp:10396–10409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10394}
10395
10396void ClntAuthBlock::tryNewKeys(rem_port* port)
10397{
10398 for (unsigned k = cryptKeys.getCount(); k--; )
10399 {
10400 if (port->tryNewKey(cryptKeys[k]))
10401 {
10402 releaseKeys(k);
10403 cryptKeys.clear();
10404 return;
10405 }
10406 }
10407
10408 cryptKeys.clear();
10409}
10410
10411void ClntAuthBlock::releaseKeys(unsigned from)
10412{

Callers 2

secureAuthenticationFunction · 0.80
authReceiveResponseFunction · 0.80

Calls 3

tryNewKeyMethod · 0.80
getCountMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected