mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
commit
6130fc5cd6
@ -39,7 +39,7 @@ void md5_wikipedia(uint8_t *data, int length, uint8_t *result) {
|
|||||||
uint8_t *message = calloc(length + 64, sizeof(uint8_t));
|
uint8_t *message = calloc(length + 64, sizeof(uint8_t));
|
||||||
memcpy(message, data, length);
|
memcpy(message, data, length);
|
||||||
|
|
||||||
long orig_bitlength = length * 8;
|
int64_t orig_bitlength = length * 8;
|
||||||
|
|
||||||
message[length++] |= 1 << 7;
|
message[length++] |= 1 << 7;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user