From f2d40473b522e348d96a70c089d2191d0b978098 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 5 May 2025 16:27:34 +0200 Subject: 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. --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') 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] -- cgit v1.2.3