diff options
author | Werner Koch <[email protected]> | 1998-09-18 15:24:53 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-09-18 15:24:53 +0000 |
commit | b4aeef458c51b9debd394592e76b93cc6b00e0a2 (patch) | |
tree | e87818f5c15e12189f5fc054faf6d09e07e3d120 /g10/sign.c | |
parent | Michael Roth has released is des impl. (diff) | |
download | gnupg-b4aeef458c51b9debd394592e76b93cc6b00e0a2.tar.gz gnupg-b4aeef458c51b9debd394592e76b93cc6b00e0a2.zip |
.
Diffstat (limited to 'g10/sign.c')
-rw-r--r-- | g10/sign.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/sign.c b/g10/sign.c index 63b7c8248..349b2f34d 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -220,6 +220,9 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, if( !multifile ) iobuf_push_filter( inp, md_filter, &mfx ); + if( detached && !encrypt && !opt.rfc1991 ) + afx.what = 2; + if( opt.armor && !outfile ) iobuf_push_filter( out, armor_filter, &afx ); else { |