Replace use of variable-length-arrays.
authorWerner Koch <wk@gnupg.org>
Mon, 2 Jan 2017 12:29:18 +0000 (13:29 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 2 Jan 2017 12:29:18 +0000 (13:29 +0100)
commit6b84ecbf312d98ac8cce9fe5facdc815bc742fa1
treea607006cafbc14a6d52a054ee1a2b5d77f435d5c
parentc52930d11fcc52515fcc09a1085bf118411566a8
Replace use of variable-length-arrays.

* common/t-iobuf.c (main): Replace variable-length-array.
* g10/gpgcompose.c (mksubpkt_callback): Ditto.
(encrypted): Ditto.
* g10/t-stutter.c (log_hexdump): Ditto.
(oracle_test): Ditto.
* g10/tofu.c (get_policy): Ditto.  Use "%zu" for size_t.
* scd/app-openpgp.c (ecc_writekey): Replace variable-length-array.
Check for zero length OID_LEN.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/t-iobuf.c
g10/gpgcompose.c
g10/t-stutter.c
g10/tofu.c
scd/app-openpgp.c