tests: fix build with recent kernel headers
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 25 Oct 2018 13:36:54 +0000 (13:36 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 25 Oct 2018 13:36:54 +0000 (13:36 +0000)
commit6d6d5bc4807a2c09784dfa3290aa0b4128a5183b
treead2ecc0aa4d6859ddd05524bdd9cf5cdaf516971
parent43700247534bee217cdf1ec553558c4dcf158335
tests: fix build with recent kernel headers

Linux commit v4.19-rc2-5-g2ecefa0a15fd0ef88b9cd5d15ceb813008136431
changed the definition of struct keyctl_dh_params in an incompatible
way again.  Workaround this issue by using designated initializers.

* tests/keyctl.c (main): Use designated initializers for
struct keyctl_dh_params.
tests/keyctl.c