HomeWildfire Games

Unify duplicate u8* to hex string functions in a new Hexify function variant…

Description

Unify duplicate u8* to hex string functions in a new Hexify function variant, similar to rP18591, used by Tests, CacheLoader, Terms and Conditions, Lobby and mod.io.

Removes the call to the sprintf_s function from test_MD5.h in rP7269 and JSInterface_Main.cpp in rP21850.
As reported by Vladislav that function might not null-terminate strings on untested/newer platforms, but the caller requires it here.
The sprintf_s calls in other places have the same problem.

Differential Revision: https://code.wildfiregames.com/D1591
Accepted By: Vladislav