Jan-Simon Möller
4c5c302494
crypto: LLVMLinux: Remove VLAIS usage from crypto/testmgr.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
2014-10-14 10:51:24 +02:00
..
2014-10-12 10:13:55 -04:00
2014-08-21 10:20:52 -07:00
2012-09-07 04:17:06 +08:00
2013-10-07 14:16:57 +08:00
2013-10-30 09:51:45 +08:00
2013-02-19 20:27:03 +08:00
2013-08-14 20:42:03 +10:00
2014-07-31 21:54:00 +08:00
2014-08-25 20:27:16 +08:00
2014-07-03 21:38:32 +08:00
2013-06-25 19:15:17 +08:00
2013-11-29 16:32:54 -05:00
2014-09-04 15:07:10 +08:00
2013-09-24 06:02:23 +10:00
2012-08-01 17:47:27 +08:00
2013-09-08 14:33:50 +10:00
2012-06-14 10:07:23 +08:00
2013-11-28 22:16:23 +08:00
2013-10-16 20:56:25 +08:00
2014-03-10 20:17:11 +08:00
2011-09-22 21:25:25 +10:00
2012-08-01 17:47:27 +08:00
2013-08-21 21:08:33 +10:00
2012-12-06 17:16:26 +08:00
2012-12-06 17:16:26 +08:00
2013-08-14 20:42:03 +10:00
2008-02-07 08:42:26 -08:00
2013-11-28 22:25:17 +08:00
2014-04-18 14:20:48 +02:00
2010-02-16 20:31:37 +08:00
2013-04-25 21:01:47 +08:00
2010-02-16 20:31:04 +08:00
2013-01-20 10:16:45 +11:00
2014-02-25 19:45:04 +08:00
2013-09-12 15:31:34 +10:00
2013-09-12 15:31:34 +10:00
2014-08-01 22:35:55 +08:00
2014-03-21 21:54:26 +08:00
2014-06-07 19:44:40 -07:00
2014-03-21 21:54:28 +08:00
2013-02-25 15:56:15 -08:00
2013-02-04 21:16:53 +08:00
2012-08-01 17:47:27 +08:00
2014-06-20 21:27:58 +08:00
2014-09-05 16:11:43 +08:00
2010-02-16 20:33:49 +08:00
2014-08-01 22:35:55 +08:00
2013-09-02 20:32:58 +10:00
2008-08-29 15:50:02 +10:00
2014-08-01 22:35:55 +08:00
2011-07-08 17:21:21 +08:00
2012-08-01 17:47:27 +08:00
2013-10-25 17:14:03 -04:00
2014-10-14 10:51:23 +02:00
2013-06-25 19:15:17 +08:00
2014-10-08 06:44:48 -04:00
2012-08-01 17:47:27 +08:00
2012-08-01 17:47:27 +08:00
2011-11-09 11:50:31 +08:00
2014-08-29 21:46:35 +08:00
2014-08-29 21:46:35 +08:00
2014-06-25 21:51:53 +08:00
2014-08-25 20:32:25 +08:00
2014-08-26 14:40:39 +08:00
2011-10-31 19:31:11 -04:00
2011-08-06 18:32:45 -07:00
2013-12-09 20:09:12 +08:00
2008-12-25 11:02:24 +11:00
2008-02-07 08:42:26 -08:00
2013-02-19 20:27:03 +08:00
2013-12-05 21:28:42 +08:00
2011-10-31 19:31:11 -04:00
2008-07-10 20:35:12 +08:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2013-02-19 20:27:03 +08:00
2012-08-01 17:47:27 +08:00
2013-08-21 21:27:58 +10:00
2012-08-01 17:47:27 +08:00
2014-08-01 22:35:55 +08:00
2012-08-01 17:47:25 +08:00
2011-08-10 19:00:28 +08:00
2014-10-02 14:52:37 +08:00
2014-10-02 14:52:37 +08:00
2014-06-07 11:44:39 -07:00
2014-08-01 22:35:55 +08:00
2013-12-20 20:06:25 +08:00
2012-08-01 17:47:24 +08:00
2014-10-14 10:51:24 +02:00
2014-08-29 21:46:36 +08:00
2012-08-01 17:47:26 +08:00
2011-11-09 11:53:32 +08:00
2012-08-01 17:47:27 +08:00
2012-10-15 22:33:20 +08:00
2012-08-01 17:47:27 +08:00
2011-10-31 19:31:11 -04:00
2012-10-11 13:42:32 +11:00
2011-11-09 11:56:06 +08:00
2014-08-08 15:57:26 -07:00