Fixed login printing raw passwdenc passwords to console (bugreport:826).
Added strlib function bin2hex(). Cleaned up the md5calc interface a bit. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13055 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -46,6 +46,10 @@ int safesnprintf(char* buf, size_t sz, const char* fmt, ...);
|
||||
/// Lines start at 1.
|
||||
int strline(const char* str, size_t pos);
|
||||
|
||||
/// Produces the hexadecimal representation of the given input.
|
||||
/// The output buffer must be at least count*2+1 in size.
|
||||
/// Returns true on success, false on failure.
|
||||
bool bin2hex(char* output, unsigned char* input, size_t count);
|
||||
|
||||
|
||||
/// Bitfield determining the behaviour of sv_parse and sv_split.
|
||||
|
||||
Reference in New Issue
Block a user