git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11385
d7cf8633-e32d-0410-b094-
e92efae38249
#include "cl_collision.h"
#include "clvm_cmds.h"
#include "ft2.h"
+#include "mdfour.h"
extern cvar_t prvm_backtraceforwarnings;
if(!strcmp(digest, "MD4"))
{
outlen = 16;
- mdfour(&out, s, len);
+ mdfour((unsigned char *) out, (unsigned char *) s, len);
}
else if(!strcmp(digest, "SHA256") && Crypto_Available())
{
outlen = 32;
- sha256(&out, s, len);
+ sha256((unsigned char *) out, (unsigned char *) s, len);
}
// no warning needed on mismatch - we return string_null to QC