2006-07-07 Simon Josefsson <jas@extundo.com>
authorSimon Josefsson <simon@josefsson.org>
Thu, 6 Jul 2006 23:56:00 +0000 (23:56 +0000)
committerSimon Josefsson <simon@josefsson.org>
Thu, 6 Jul 2006 23:56:00 +0000 (23:56 +0000)
* tests/test-crc.c: Change expected crc value, the test vector
were probably computed using the old broken crc.c?

ChangeLog
tests/test-crc.c

index 009d675..b1635ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-07  Simon Josefsson  <jas@extundo.com>
+
+       * tests/test-crc.c: Change expected crc value, the test vector
+       were probably computed using the old broken crc.c?
+
 2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
 
        * modules/getusershell (configure.ac): Use gl_FUNC_GETUSERSHELL,
index bd45939..55b5046 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005 Free Software Foundation
+ * Copyright (C) 2005, 2006 Free Software Foundation
  *
  * 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
@@ -46,7 +46,7 @@ main (int argc, char *argv[])
     }
 
   p = crc32_update (42, "foo", 3);
-  if (p != 0x8c736521)
+  if (p != 0xb9a9a617)
     {
       printf ("cu got %lx\n", p);
       return 1;