mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Split write_pubkey_enc_from_list.
* g10/encrypt.c (write_pubkey_enc_from_list): Split the body of this function out into... (write_pubkey_enc): ... this new function. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
2fdb950471
commit
7eac4942b5
2 changed files with 73 additions and 61 deletions
|
@ -232,6 +232,8 @@ void encrypt_crypt_files (ctrl_t ctrl,
|
|||
int encrypt_filter (void *opaque, int control,
|
||||
iobuf_t a, byte *buf, size_t *ret_len);
|
||||
|
||||
int write_pubkey_enc (PKT_public_key *pk, int throw_keyid,
|
||||
DEK *dek, iobuf_t out);
|
||||
|
||||
/*-- sign.c --*/
|
||||
int complete_sig (PKT_signature *sig, PKT_public_key *pksk, gcry_md_hd_t md,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue