aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-04-20 02:36:05 +0000
committerDavid Shaw <[email protected]>2006-04-20 02:36:05 +0000
commit99b1f3e1da894b00006fff3ba601cc0ac2dd524d (patch)
tree5344e3174f6619a7c63c1f86c888884cd7bb7c7e /g10/main.h
parent* sigs.test, mds.test: Add tests for SHA-224, SHA-384, and SHA-512. (diff)
downloadgnupg-99b1f3e1da894b00006fff3ba601cc0ac2dd524d.tar.gz
gnupg-99b1f3e1da894b00006fff3ba601cc0ac2dd524d.zip
* gpg.c (print_mds), armor.c (armor_filter, parse_hash_header): Add
SHA-224. * sign.c (write_plaintext_packet), encode.c (encode_simple): Factor common literal packet setup code from here, to... * main.h, plaintext.c (setup_plaintext_name): Here. New. Make sure the literal packet filename field is UTF-8 encoded. * options.h, gpg.c (main): Make sure --set-filename is UTF-8 encoded and note when filenames are already UTF-8.
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 434ecc2e8..b340b02eb 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -274,6 +274,7 @@ void decrypt_messages(int nfiles, char *files[]);
/*-- plaintext.c --*/
int hash_datafiles( MD_HANDLE md, MD_HANDLE md2,
STRLIST files, const char *sigfilename, int textmode );
+PKT_plaintext *setup_plaintext_name(const char *filename,IOBUF iobuf);
/*-- pipemode.c --*/
void run_in_pipemode (void);