diff options
author | Werner Koch <[email protected]> | 2021-05-12 06:38:14 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-05-12 06:48:26 +0000 |
commit | 88db69e1a964c9a36989e36fe5d972548432fb5c (patch) | |
tree | e84442869aad7e6864377f9e73c8ef527871ac7a | |
parent | cpp: Do not close stdout/stderr when destroying EditInteractor (diff) | |
download | gpgme-88db69e1a964c9a36989e36fe5d972548432fb5c.tar.gz gpgme-88db69e1a964c9a36989e36fe5d972548432fb5c.zip |
core: Make sure to stay ABI compatible.
* src/gpgme.h.in (struct _gpgme_key_sig): Move trust_scope to the end
of the struct.
--
Fixes-commit: 276187f6b62a73e92b1c20f589510f80ab9e88d2
Note that we assume that splitting a reserved 28 bit field into 3
fields does not change the ABI.
-rw-r--r-- | src/gpgme.h.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in index 6471f0ad..5c74afd6 100644 --- a/src/gpgme.h.in +++ b/src/gpgme.h.in @@ -650,9 +650,6 @@ struct _gpgme_key_sig /* The expiration timestamp, 0 if the subkey does not expire. */ long int expires; - /* The scope of a trust signature. Might be NULL. */ - char *trust_scope; - /* Same as in gpgme_signature_t. */ gpgme_error_t status; @@ -683,6 +680,9 @@ struct _gpgme_key_sig /* Internal to GPGME, do not use. */ gpgme_sig_notation_t _last_notation; + + /* The scope of a trust signature. Might be NULL. */ + char *trust_scope; }; typedef struct _gpgme_key_sig *gpgme_key_sig_t; |