Codebase list gpgme1.0 / aadf787
Drop patch 0005-Make-sure-expiration-time-is-interpreted-as-unsigned.patch, present upstream. Debian Janitor 2 years ago
3 changed file(s) with 2 addition(s) and 30 deletion(s). Raw diff Collapse all Expand all
22 * New upstream release.
33 * Drop patch 0004-core-Fix-use-after-free-issue-in-test.patch, present
44 upstream.
5 * Drop patch 0005-Make-sure-expiration-time-is-interpreted-as-unsigned.patch,
6 present upstream.
57
68 -- Debian Janitor <janitor@jelmer.uk> Thu, 17 Mar 2022 19:02:19 -0000
79
+0
-29
debian/patches/0005-Make-sure-expiration-time-is-interpreted-as-unsigned.patch less more
0 From: =?utf-8?q?Ingo_Kl=C3=B6cker?= <dev@ingo-kloecker.de>
1 Date: Thu, 8 Jul 2021 11:54:06 +0200
2 Subject: Make sure expiration time is interpreted as unsigned number
3
4 * lang/qt/tests/t-various.cpp (testSignKeyWithExpiration): Convert
5 expiration time to uint_least32_t.
6 --
7
8 This fixes the test on 32-bit systems where time_t (the return type of
9 expirationTime()) is a signed 32-bit integer type.
10
11 GnuPG-bug-id: 5522
12 ---
13 lang/qt/tests/t-various.cpp | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/lang/qt/tests/t-various.cpp b/lang/qt/tests/t-various.cpp
17 index 8563b68..72a2487 100644
18 --- a/lang/qt/tests/t-various.cpp
19 +++ b/lang/qt/tests/t-various.cpp
20 @@ -355,7 +355,7 @@ private Q_SLOTS:
21 target.update();
22 const auto keySignature = target.userID(0).signature(target.userID(0).numSignatures() - 1);
23 QVERIFY(!keySignature.neverExpires());
24 - const auto expirationDate = QDateTime::fromSecsSinceEpoch(keySignature.expirationTime()).date();
25 + const auto expirationDate = QDateTime::fromSecsSinceEpoch(uint_least32_t(keySignature.expirationTime())).date();
26 QCOMPARE(expirationDate, QDate(2106, 2, 6)); // expiration date is capped at 2106-02-06
27 }
28
00 0001-avoid-identifying-as-beta.patch
11 0004-drop-python2-support.patch
22 0006-Ship-python-examples-with-python3-in-shebang-line.patch
3 0005-Make-sure-expiration-time-is-interpreted-as-unsigned.patch
43 0006-Avoid-the-hardcoded-list-of-Python-versions.patch