From: Behan Webster Date: Fri, 4 Apr 2014 21:18:00 +0000 (-0300) Subject: crypto: LLVMLinux: Remove VLAIS from crypto/n2_core.c X-Git-Tag: fixes-against-v3.18-rc2~66^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce1f3e47d9d11ffde75d06170304dc9ff2afe0c6;p=pandora-kernel.git 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 Reviewed-by: Mark Charlebois Reviewed-by: Jan-Simon Möller Acked-by: Herbert Xu --- Reading git-diff-tree failed