diff options
author | Neal H. Walfield <[email protected]> | 2016-03-02 15:00:44 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-03-02 19:36:19 +0000 |
commit | d040628ddf2c09ddc9581ff365680a568ad24278 (patch) | |
tree | 9f1b4596c48a96046cdbfd143ab7296d115e06d6 /g10/main.h | |
parent | gpg: More robustly detect valid non-armored OpenPGP messages. (diff) | |
download | gnupg-d040628ddf2c09ddc9581ff365680a568ad24278.tar.gz gnupg-d040628ddf2c09ddc9581ff365680a568ad24278.zip |
gpg: Add new program gpgcompose.
* g10/packet.h: Include "util.h".
* g10/encrypt.c (encrypt_seskey): Don't mark as static.
* g10/gpgcompose.c: New file.
* g10/Makefile.am (noinst_PROGRAMS): Add gpgcompose.
(gpg2_SOURCES): Split everything but gpg.c into...
(gpg_sources): ... this new variable.
(gpgcompose_SOURCES): New variable.
(gpgcompose_LDADD): Likewise.
(gpgcompose_LDFLAGS): Likewise.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/main.h')
-rw-r--r-- | g10/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index fa58205f7..36879773a 100644 --- a/g10/main.h +++ b/g10/main.h @@ -221,6 +221,7 @@ void display_online_help( const char *keyword ); /*-- encode.c --*/ int setup_symkey (STRING2KEY **symkey_s2k,DEK **symkey_dek); +void encrypt_seskey (DEK *dek, DEK **seskey, byte *enckey); int use_mdc (pk_list_t pk_list,int algo); int encrypt_symmetric (const char *filename ); int encrypt_store (const char *filename ); |