aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-06-10 09:54:03 +0000
committerIngo Klöcker <[email protected]>2022-06-10 09:54:03 +0000
commit7870fdbfeff47755138136dbd6648b18f6b4fc76 (patch)
tree9f0c26667a61b7961ad089e26a1871df7ffac912 /lang/cpp/src
parentRevert "tests: Avoid problems with local time across a day boundary." (diff)
downloadgpgme-7870fdbfeff47755138136dbd6648b18f6b4fc76.tar.gz
gpgme-7870fdbfeff47755138136dbd6648b18f6b4fc76.zip
qt: Prevent u32 overflow when calculating expiration date
* lang/qt/src/qgpgmesignkeyjob.cpp (sign_key): Change maxAllowedDate to 2106-02-05. Change log-level from warning to debug. * lang/qt/tests/t-various.cpp (TestVarious::testSignKeyWithExpiration): Remove check for warning. Adapt assertion. -- Capping the expiration date at 2106-02-05 prevents a u32 overflow when adding the number of days until the maximal date to the current time. GnuPG-bug-id: 5991
Diffstat (limited to 'lang/cpp/src')
0 files changed, 0 insertions, 0 deletions