summaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-12-01 12:28:15 +0100
committerWerner Koch <wk@gnupg.org>2022-12-02 10:09:58 +0100
commit1d88e14de751b19ae5637c4f6b0a1882c2f3b554 (patch)
treedd759c6716d8b268e294ad56742b6072b4ab5520 /g10/main.h
parenttests: Simplify fake-pinentry to use the option only. (diff)
downloadgnupg2-1d88e14de751b19ae5637c4f6b0a1882c2f3b554.tar.xz
gnupg2-1d88e14de751b19ae5637c4f6b0a1882c2f3b554.zip
gpg: Remove a mostly duplicated function.
* g10/export.c (receive_seckey_from_agent): Add arg r_key. (do_export_one_keyblock): Pass NULL for new arg. (receive_raw_seckey_from_agent): Remove. (export_secret_ssh_key): Use receive_seckey_from_agent. * g10/keygen.c (card_store_key_with_backup): Pass NULL for new arg.
Diffstat (limited to '')
-rw-r--r--g10/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h
index 6d5ba77ac..968465ebd 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -434,7 +434,7 @@ gpg_error_t receive_seckey_from_agent (ctrl_t ctrl, gcry_cipher_hd_t cipherhd,
int cleartext,
char **cache_nonce_addr,
const char *hexgrip,
- PKT_public_key *pk);
+ PKT_public_key *pk, gcry_sexp_t *r_key);
gpg_error_t write_keyblock_to_output (kbnode_t keyblock,
int with_armor, unsigned int options);