diff options
author | Werner Koch <[email protected]> | 2020-03-13 12:17:51 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-03-13 12:19:31 +0000 |
commit | 32493ce50ad880de7b548d7870c6040a8233a8f5 (patch) | |
tree | 61ae869cc0e4c550c257bf2001723aaf735df605 /g10/test-stubs.c | |
parent | doc: Add a comment to explain the signature postscript. (diff) | |
download | gnupg-32493ce50ad880de7b548d7870c6040a8233a8f5.tar.gz gnupg-32493ce50ad880de7b548d7870c6040a8233a8f5.zip |
gpg: Add property "fpr" for use by --export-filter.
* g10/export.c (push_export_filters): New.
(pop_export_filters): New.
(export_pubkey_buffer): Add args prefix and prefixlen. Adjust
callers.
* g10/import.c (impex_filter_getval): Add property "fpr".
* g10/main.h (struct impex_filter_parm_s): Add field hexfpr.
--
The push and pop feature will help us to use the export filter
internally in gpg. Same for the export_pubkey_buffer change.
GnuPG-bug-id: 4856
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/test-stubs.c')
-rw-r--r-- | g10/test-stubs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/test-stubs.c b/g10/test-stubs.c index d5b6d4f02..ffff83d06 100644 --- a/g10/test-stubs.c +++ b/g10/test-stubs.c @@ -471,12 +471,15 @@ gpg_dirmngr_get_pka (ctrl_t ctrl, const char *userid, gpg_error_t export_pubkey_buffer (ctrl_t ctrl, const char *keyspec, unsigned int options, + const void *prefix, size_t prefixlen, export_stats_t stats, kbnode_t *r_keyblock, void **r_data, size_t *r_datalen) { (void)ctrl; (void)keyspec; (void)options; + (void)prefix; + (void)prefixlen; (void)stats; *r_keyblock = NULL; |