diff tests/test-crc.c @ 6935:c7a96bfc8c0e

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?
author Simon Josefsson <simon@josefsson.org>
date Thu, 06 Jul 2006 23:56:00 +0000
parents 9abdb1386cc0
children 260df799e469
line wrap: on
line diff
--- a/tests/test-crc.c
+++ b/tests/test-crc.c
@@ -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 @@
     }
 
   p = crc32_update (42, "foo", 3);
-  if (p != 0x8c736521)
+  if (p != 0xb9a9a617)
     {
       printf ("cu got %lx\n", p);
       return 1;