gpgscm: Initialize unused slots in vectors.
authorJustus Winter <justus@g10code.com>
Thu, 6 Apr 2017 14:21:48 +0000 (16:21 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 6 Apr 2017 14:21:48 +0000 (16:21 +0200)
commitb83903f59ec5d49ac579f263da70ebc8dc3645b5
treed80020b4954dff8658da6fcf580b93bc29c9cb57
parent23f00f109ddba595db4f73a6182750177c7dd75d
gpgscm: Initialize unused slots in vectors.

* tests/gpgscm/scheme.c (get_vector_object): Initialize unused slots
at the end of vectors.
--

They should not be used for anything, but let's just initialize them
to something benign to be sure.

GnuPG-bug-id: 3014
Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/scheme.c