X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/ceafd592b7c084e0857902f0dd4132db97b2abf7..59b38cc02dd57c5a072cf206794548fbb37e0571:/src/md5.c diff --git a/src/md5.c b/src/md5.c index 859c9d0..d80e117 100644 --- a/src/md5.c +++ b/src/md5.c @@ -5,7 +5,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -439,6 +439,7 @@ void md5_process( md5_context *ctx, uint8 data[64] ) C = ctx->state[2]; D = ctx->state[3]; +#undef F #define F(x,y,z) (z ^ (x & (y ^ z))) P( A, B, C, D, 0, 7, 0xD76AA478 ); @@ -624,7 +625,7 @@ char* md5(const char* pass, char* output) { sprintf(output + j * 2, "%02x", md5sum[j]); } - printf("The hash of %s is %s\n\n", pass, output); + /* printf("The hash of %s is %s\n\n", pass, output); */ return 0; }