diff options
author | Zach van Rijn <me@zv.io> | 2023-04-11 12:21:09 -0700 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-04-11 12:21:09 -0700 |
commit | 1d76337f8d72a658184afd7f35a9db232f60b8bb (patch) | |
tree | 55c01f24c545b5c4309e0d87270dcbbdd9879754 /user/gpgme/0002-Make-sure-expiration-time-is-interpreted-as-unsigned.patch | |
parent | 237a9c8b4b22fa12d2f212466af2c58c46522c72 (diff) | |
download | packages-1d76337f8d72a658184afd7f35a9db232f60b8bb.tar.gz packages-1d76337f8d72a658184afd7f35a9db232f60b8bb.tar.bz2 packages-1d76337f8d72a658184afd7f35a9db232f60b8bb.tar.xz packages-1d76337f8d72a658184afd7f35a9db232f60b8bb.zip |
user/gpgme: bump { 1.16.0 --> 1.19.0 }. fixes #995.
Diffstat (limited to 'user/gpgme/0002-Make-sure-expiration-time-is-interpreted-as-unsigned.patch')
-rw-r--r-- | user/gpgme/0002-Make-sure-expiration-time-is-interpreted-as-unsigned.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/user/gpgme/0002-Make-sure-expiration-time-is-interpreted-as-unsigned.patch b/user/gpgme/0002-Make-sure-expiration-time-is-interpreted-as-unsigned.patch deleted file mode 100644 index 558cacda0..000000000 --- a/user/gpgme/0002-Make-sure-expiration-time-is-interpreted-as-unsigned.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 6a79e90dedc19877ae1c520fed875b57089a5425 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= <dev@ingo-kloecker.de> -Date: Thu, 8 Jul 2021 11:54:06 +0200 -Subject: [PATCH] Make sure expiration time is interpreted as unsigned number - -* lang/qt/tests/t-various.cpp (testSignKeyWithExpiration): Convert -expiration time to uint_least32_t. --- - -This fixes the test on 32-bit systems where time_t (the return type of -expirationTime()) is a signed 32-bit integer type. - -GnuPG-bug-id: 5522 ---- - lang/qt/tests/t-various.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lang/qt/tests/t-various.cpp b/lang/qt/tests/t-various.cpp -index 8563b681..72a2487a 100644 ---- a/lang/qt/tests/t-various.cpp -+++ b/lang/qt/tests/t-various.cpp -@@ -355,7 +355,7 @@ private Q_SLOTS: - target.update(); - const auto keySignature = target.userID(0).signature(target.userID(0).numSignatures() - 1); - QVERIFY(!keySignature.neverExpires()); -- const auto expirationDate = QDateTime::fromSecsSinceEpoch(keySignature.expirationTime()).date(); -+ const auto expirationDate = QDateTime::fromSecsSinceEpoch(uint_least32_t(keySignature.expirationTime())).date(); - QCOMPARE(expirationDate, QDate(2106, 2, 6)); // expiration date is capped at 2106-02-06 - } - |