core: Fix ABI regression in recent commit.
* src/gpgme.h.in (_gpgme_op_import_result): Move new field
'skipped_v3_keys' to the end.
--
The ABI break has not made it into a release.
Also document the new field.
Fixes-commit: a630a1e3e7
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
ad95288d3b
commit
9e1e655483
@ -4811,6 +4811,12 @@ The number of keys not imported.
|
|||||||
@item gpgme_import_status_t imports
|
@item gpgme_import_status_t imports
|
||||||
A list of gpgme_import_status_t objects which contain more information
|
A list of gpgme_import_status_t objects which contain more information
|
||||||
about the keys for which an import was attempted.
|
about the keys for which an import was attempted.
|
||||||
|
|
||||||
|
@item int skipped_v3_keys
|
||||||
|
For security reasons modern versions of GnuPG do not anymore support
|
||||||
|
v3 keys (created with PGP 2.x) and ignores them on import. This
|
||||||
|
counter provides the number of such skipped v3 keys.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
@end deftp
|
@end deftp
|
||||||
|
|
||||||
|
@ -1637,11 +1637,11 @@ struct _gpgme_op_import_result
|
|||||||
/* Number of keys not imported. */
|
/* Number of keys not imported. */
|
||||||
int not_imported;
|
int not_imported;
|
||||||
|
|
||||||
/* Number of v3 keys skipped. */
|
|
||||||
int skipped_v3_keys;
|
|
||||||
|
|
||||||
/* List of keys for which an import was attempted. */
|
/* List of keys for which an import was attempted. */
|
||||||
gpgme_import_status_t imports;
|
gpgme_import_status_t imports;
|
||||||
|
|
||||||
|
/* Number of v3 keys skipped. */
|
||||||
|
int skipped_v3_keys;
|
||||||
};
|
};
|
||||||
typedef struct _gpgme_op_import_result *gpgme_import_result_t;
|
typedef struct _gpgme_op_import_result *gpgme_import_result_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user