aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-10-16 16:00:17 +0000
committerWerner Koch <[email protected]>1998-10-16 16:00:17 +0000
commite81e0970f7ab6c815f3396168d47fc6ab57fdf30 (patch)
tree175aa8c360560b30cf500a91eb72b34e16bdedc4 /g10/sign.c
parentbackup (diff)
downloadgnupg-e81e0970f7ab6c815f3396168d47fc6ab57fdf30.tar.gz
gnupg-e81e0970f7ab6c815f3396168d47fc6ab57fdf30.zip
last local commit
Diffstat (limited to 'g10/sign.c')
-rw-r--r--g10/sign.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 349b2f34d..304843f59 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -225,12 +225,14 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr,
if( opt.armor && !outfile )
iobuf_push_filter( out, armor_filter, &afx );
+ #ifdef ENABLE_COMMENT_PACKETS
else {
write_comment( out, "#created by GNUPG v" VERSION " ("
PRINTABLE_OS_NAME ")");
if( opt.comment_string )
write_comment( out, opt.comment_string );
}
+ #endif
if( encrypt ) {
efx.pk_list = pk_list;
/* fixme: set efx.cfx.datalen if known */