diff options
author | Behan Webster <behanw@converseincode.com> | 2014-04-04 21:18:00 (GMT) |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-10-14 08:51:23 (GMT) |
commit | ce1f3e47d9d11ffde75d06170304dc9ff2afe0c6 (patch) | |
tree | 4d86fc571aaea82055c38f86041bec462281c38d /scripts/cleanpatch | |
parent | 7128470f6b21b922b42f790d429330562eb6eab1 (diff) | |
download | linux-ce1f3e47d9d11ffde75d06170304dc9ff2afe0c6.tar.xz |
crypto: LLVMLinux: Remove VLAIS from crypto/n2_core.c
Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99
compliant equivalent. This patch allocates the appropriate amount of memory
using a char array using the SHASH_DESC_ON_STACK macro.
The new code can be compiled with both gcc and clang.
Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions