diff options
Diffstat (limited to '')
-rw-r--r-- | g10/sign.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/g10/sign.c b/g10/sign.c index 7ca0eed66..efa936f0f 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -1145,6 +1145,13 @@ sign_symencrypt_file (const char *fname, STRLIST locusr) goto leave; } + /* We have no way to tell if the recipient can handle messages + with an MDC, so this defaults to no. Perhaps in a few years, + this can be defaulted to yes. Note that like regular + encrypting, --force-mdc overrides --disable-mdc. */ + if(opt.force_mdc) + cfx.dek->use_mdc=1; + /* now create the outfile */ rc = open_outfile (fname, opt.armor? 1:0, &out); if (rc) |