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

Method resetRedirect

src/jrd/extds/ExtDS.cpp:2695–2705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2693}
2694
2695void CryptCallbackRedirector::resetRedirect(Firebird::ICryptKeyCallback* newCallback)
2696{
2697#ifdef DEV_BUILD
2698 CryptHash ch(newCallback);
2699 fb_assert(m_hash.isValid() == ch.isValid());
2700 fb_assert(m_hash == ch);
2701#endif
2702
2703 if (m_hash.isValid())
2704 m_keyCallback = newCallback;
2705}
2706
2707bool CryptCallbackRedirector::operator==(const CryptHash& ch) const
2708{

Callers 2

getConnectionMethod · 0.45
getBoundConnectionMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected