diff options
author | Neal H. Walfield <[email protected]> | 2016-03-02 14:38:16 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-03-02 19:36:15 +0000 |
commit | 7eac4942b537c4b3710d34e6adb9c5d36338f38b (patch) | |
tree | 190de1060682b388ba652ec25dacbc8e6c6544fb /g10/main.h | |
parent | gpg: Allow the caller to write the contents of a plaintext packet. (diff) | |
download | gnupg-7eac4942b537c4b3710d34e6adb9c5d36338f38b.tar.gz gnupg-7eac4942b537c4b3710d34e6adb9c5d36338f38b.zip |
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 <[email protected]>
Diffstat (limited to 'g10/main.h')
-rw-r--r-- | g10/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index f7c47e91f..fa58205f7 100644 --- a/g10/main.h +++ b/g10/main.h @@ -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, |