X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=mdfour.h;h=3ef654c87e157456fe4e41a0899f9a24d5056a7d;hb=2000fe0dea529231a494c63436f171829cbf43e5;hp=69ca6f78f92fda63d95568cdba546e1fcad56950;hpb=9e279d8ea4a631713d98132cd1b01338e81f5c0b;p=xonotic%2Fdarkplaces.git diff --git a/mdfour.h b/mdfour.h index 69ca6f78..3ef654c8 100644 --- a/mdfour.h +++ b/mdfour.h @@ -46,9 +46,9 @@ struct mdfour { }; void mdfour_begin(struct mdfour *md); // old: MD4Init -void mdfour_update(struct mdfour *md, unsigned char *in, int n); //old: MD4Update +void mdfour_update(struct mdfour *md, const unsigned char *in, int n); //old: MD4Update void mdfour_result(struct mdfour *md, unsigned char *out); // old: MD4Final -void mdfour(unsigned char *out, unsigned char *in, int n); +void mdfour(unsigned char *out, const unsigned char *in, int n); #endif // _MDFOUR_H