Examples/TLSFingerprinting/main.cpp
/**
 * An auxiliary method for sorting the TLS fingerprint count map. Used in printCommonTLSFingerprints()
 */
An auxiliary method for sorting the TLS fingerprint count map.
An auxiliary method for sorting the TLS fingerprint count map .
bool stringCountComparer(std::pair<std::string, uint64_t> first, std::pair<std::string, uint64_t> second)
{
	if (first.second == second.second)
	{
		return first.first > second.first;
	}
	return first.second > second.second;
}
bool stringCountComparer ( std :: pair < std :: string , uint64_t > first , std :: pair < std :: string , uint64_t > second ) { if ( first . second == second . second ) { return first . first > second . first ; } return first . second > second . second ; }
An auxiliary method for sorting the TLS fingerprint count map.
An auxiliary method for sorting the TLS fingerprint count map .