From 4a039df212daf20ddcd245302b82a81a56dae96f Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 6 Jul 2006 23:56:00 +0000 Subject: [PATCH] 2006-07-07 Simon Josefsson * tests/test-crc.c: Change expected crc value, the test vector were probably computed using the old broken crc.c? --- ChangeLog | 5 +++++ tests/test-crc.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 009d675a6..b1635efe6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-07 Simon Josefsson + + * 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 (tiny change) * modules/getusershell (configure.ac): Use gl_FUNC_GETUSERSHELL, diff --git a/tests/test-crc.c b/tests/test-crc.c index bd45939b9..55b5046ad 100644 --- 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 @@ 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; -- 2.11.0