diff options
author | Jan-Simon Möller <dl9pf@gmx.de> | 2012-07-02 12:54:28 +0200 |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-10-14 10:51:23 +0200 |
commit | ea0e0de69fc413aa80dbf1ec1fb9702ea1b6faca (patch) | |
tree | eaf66f02ff3614bb87a60e1ce17b8125ef67dc82 /security | |
parent | ffb32e973eb5105ec55e0bbf2e77a1ea4a7a123a (diff) | |
download | linux-ea0e0de69fc413aa80dbf1ec1fb9702ea1b6faca.tar.bz2 |
crypto: LLVMLinux: Remove VLAIS usage from libcrc32c.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: Jan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Cc: pageexec@freemail.hu
Cc: "David S. Miller" <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions