+2006-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * gc-gnulib.c [GC_USE_HMAC_SHA1]: include hmac.h for hmac_sha1.
+ * md4.c (md4_process_block): Remove unused variable.
+ * rijndael-api-fst.c (rijndaelBlockDecrypt): GCC suggests
+ parentheses for clarity.
+
2006-09-20 Paul Eggert <eggert@cs.ucla.edu>
Import this patch from libc:
/* rijndael-api-fst.c --- Rijndael cipher implementation.
- * Copyright (C) 2005 Free Software Foundation, Inc.
+ * Copyright (C) 2005, 2006 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
size_t i, k, t, numBlocks;
char block[16], *iv;
- if (cipher == NULL ||
- key == NULL ||
- cipher->mode != RIJNDAEL_MODE_CFB1
- && key->direction == RIJNDAEL_DIR_ENCRYPT)
+ if (cipher == NULL
+ || key == NULL
+ || (cipher->mode != RIJNDAEL_MODE_CFB1
+ && key->direction == RIJNDAEL_DIR_ENCRYPT))
{
return RIJNDAEL_BAD_CIPHER_STATE;
}