aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-05-05 14:27:34 +0000
committerWerner Koch <[email protected]>2025-05-05 14:27:34 +0000
commitf2d40473b522e348d96a70c089d2191d0b978098 (patch)
treea77c67f7ac0201b987e9046fb42b655bf887419a /NEWS
parentAllow signing using an exactly specified subkey. (diff)
downloadgpgme-f2d40473b522e348d96a70c089d2191d0b978098.tar.gz
gpgme-f2d40473b522e348d96a70c089d2191d0b978098.zip
Change timestamp fields from signed to unsigned long.
* src/gpgme.h.in (struct _gpgme_subkey): Chnage timestamp and expires. (struct _gpgme_key_sig): Ditto. (struct _gpgme_new_signature): Ditto. -- Note that unsigned long has always been used for gpgme_signature_t. A change to time_t would be a real ABI change and require may users of gpgme to adjust their code. The signed/unsigned change is sufficient and mostly invisible.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4e081683..9c4d9390 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,11 @@ Noteworthy changes in version 2.0.0 (unreleased)
for signing. This reflects the behaviour of gpg but is a minor
semantic change. [T3325]
+ * The timestamp and expires fields in gpgme_subkey_t, gpgme_key_sig,
+ and gpgme_new_signature_t are changed from signed long to unsigned
+ long to better cope with 32bit time_t implementations. These
+ fields should in reality never see an error value (-1).
+
* Removed the gpgme_attr_t enums and their functions which were
deprecated since 2003. [rMd54d6eaa64]