aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/sign.c')
-rw-r--r--g10/sign.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 57618c377..c1a09bae4 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -825,9 +825,7 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
}
}
- if( old_style && only_md5 )
- iobuf_writestr(out, LF );
- else {
+ if( !(old_style && only_md5) ) {
const char *s;
int any = 0;
byte hashs_seen[256];
@@ -851,12 +849,12 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
}
assert(any);
iobuf_writestr(out, LF );
- if( opt.not_dash_escaped )
- iobuf_writestr( out,
- "NotDashEscaped: You need GnuPG to verify this message" LF );
- iobuf_writestr(out, LF );
}
+ if( opt.not_dash_escaped )
+ iobuf_writestr( out,
+ "NotDashEscaped: You need GnuPG to verify this message" LF );
+ iobuf_writestr(out, LF );
textmd = md_open(0, 0);
for( sk_rover = sk_list; sk_rover; sk_rover = sk_rover->next ) {