]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - lib/md5-test.c
Source Format Enforcement (#763)
[thirdparty/squid.git] / lib / md5-test.c
index 3615f3e711acbf1b2f65e3c32c30df31ae20b222..cf5b521ecefe065d36d0ebe31d7073c809ce8684 100644 (file)
@@ -1,15 +1,13 @@
 /*
- * $Id: md5-test.c,v 1.4 2007/11/15 09:18:05 amosjeffries Exp $
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
-/*
- * COMPILE WITH:
- *      gcc -Wall md5-test.c -I../include md5.o
- */
-
-#include "config.h"
+#include "squid.h"
 #include "md5.h"
-#include "stdio.h"
 
 static void MDPrint(unsigned char digest[16]);
 static void MDString(char *string);
@@ -45,10 +43,9 @@ main(int argc, char **argv)
     MDString("abc");
     MDString("message digest");
     MDString("abcdefghijklmnopqrstuvwxyz");
-    MDString
-    ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
-    MDString
-    ("1234567890123456789012345678901234567890\
-1234567890123456789012345678901234567890");
+    MDString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
+    MDString("1234567890123456789012345678901234567890"
+             "1234567890123456789012345678901234567890");
     return 0;
 }
+