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

Method GenerateToken7

src/engine/shared/network_conn.cpp:269–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269TOKEN CNetConnection::GenerateToken7(const NETADDR *pPeerAddr)
270{
271 TOKEN Token;
272 secure_random_fill(&Token, sizeof(Token));
273 return Token;
274}
275
276void CNetConnection::Disconnect(const char *pReason)
277{

Callers

nothing calls this directly

Calls 1

secure_random_fillFunction · 0.85

Tested by

no test coverage detected