Home GnuPG
Diffusion GPGME f2b48de26b8f

qt,tests: Make sure expiration time is interpreted as unsigned number

Description

qt,tests: Make sure expiration time is interpreted as unsigned number

* lang/qt/tests/t-addexistingsubkey.cpp,
lang/qt/tests/t-changeexpiryjob.cpp: Convert expiration time to
uint_least32_t.

This doesn't change the outcome of the tests (they also pass without
this change because of the expiration dates of the test keys), but it's
still good practise to treat the expiration time as an unsigned number
if the assertions check that the expiration time is in some range.