1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* g10.c (main): Add --multifile as an alias to turn --encrypt into

--encrypt-files (plus --verify-files, --decrypt-files).

* encode.c (use_mdc), g10.c (main): Use RFC1991 and RFC2440 directly to
check for MDC usability.  Do not set the force_mdc or disable_mdc flags
since there is no point any longer.
This commit is contained in:
David Shaw 2003-09-05 23:55:51 +00:00
parent 772ff76486
commit 54d55d4147
3 changed files with 56 additions and 40 deletions

View file

@ -106,6 +106,10 @@ encode_sesskey( DEK *dek, DEK **ret_dek, byte *enckey )
static int
use_mdc(PK_LIST pk_list,int algo)
{
/* RFC-1991 and 2440 don't have MDC */
if(RFC1991 || RFC2440)
return 0;
/* --force-mdc overrides --disable-mdc */
if(opt.force_mdc)
return 1;