MCPcopy Create free account
hub / github.com/ddnet/ddnet / IsValidIdent

Method IsValidIdent

src/engine/server/authmanager.cpp:172–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172bool CAuthManager::IsValidIdent(const char *pIdent) const
173{
174 return str_length(pIdent) < (int)sizeof(CKey().m_aIdent);
175}
176
177void CAuthManager::UpdateKeyHash(int Slot, MD5_DIGEST Hash, const unsigned char *pSalt, const char *pRoleName)
178{

Callers 2

ConAuthAddMethod · 0.80
ConAuthAddHashedMethod · 0.80

Calls 2

str_lengthFunction · 0.85
CKeyClass · 0.85

Tested by

no test coverage detected