]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/md5.c
Merged in srvx 1.4-RC1 changes. DNSBL parts are missing as it hasnt even been impleme...
[irc/evilnet/x3.git] / src / md5.c
index 859c9d0dededf0acdbf09c75f068cffcd9ad67c9..d80e117bce32128f31990ce4f67374f2d782b177 100644 (file)
--- 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;
 }