diff options
author | Ingo Klöcker <[email protected]> | 2022-08-17 13:22:29 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-08-17 13:22:29 +0000 |
commit | f2b48de26b8f8c48c293423eda712831544924f6 (patch) | |
tree | dbfb3b69f4d5690bc9c703e83616138193b8b79d /lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp | |
parent | qt,tests: Log the actual error code if the assertion fails (diff) | |
download | gpgme-f2b48de26b8f8c48c293423eda712831544924f6.tar.gz gpgme-f2b48de26b8f8c48c293423eda712831544924f6.zip |
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.
GnuPG-bug-id: 6137
Diffstat (limited to 'lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp')
0 files changed, 0 insertions, 0 deletions