gpg: Fix portability problem.
authorWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 12:06:10 +0000 (13:06 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 12:08:02 +0000 (13:08 +0100)
commitc3008bffac68b6f31e9ae9bad837cdce5de7c0db
tree2cf8b7f343d120be145c9a151ac396b5e34c661d
parentdec2ae31a46a0f41886c7ad228865cc573f2dea9
gpg: Fix portability problem.

* g10/tofu.c (build_conflict_set): Replace variable dynamic array.
--

Note that clang complained that CONFLICT_SET_COUNT could be negative.
Thus I added an assert.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/tofu.c