From: Jan-Simon Möller Date: Mon, 2 Jul 2012 11:47:40 +0000 (+0200) Subject: crypto: LLVMLinux: Remove VLAIS usage from crypto/hmac.c X-Git-Tag: fixes-against-v3.18-rc2~66^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffb32e973eb5105ec55e0bbf2e77a1ea4a7a123a;p=pandora-kernel.git crypto: LLVMLinux: Remove VLAIS usage from crypto/hmac.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 Signed-off-by: Behan Webster Reviewed-by: Mark Charlebois Acked-by: Herbert Xu Cc: pageexec@freemail.hu --- Reading git-diff-tree failed