fix debugging

This commit is contained in:
Wolfgang Hottgenroth
2007-11-16 09:19:26 +01:00
parent c9e6c2f6b0
commit b370beb829
8 changed files with 63 additions and 36 deletions

View File

@ -38,10 +38,10 @@ int main(int argc, char **argv) {
md5_state_t state;
md5_init(&state);
md5_append(&state, buf, strlen(buf));
md5_append(&state, (const unsigned char *) buf, strlen(buf));
char c[16];
md5_finish(&state, c);
md5_finish(&state, (unsigned char *) c);
sprintf(buf, "%s %d %02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
dynid, t,