mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
* g10.c (main): Handle --strict and --no-strict from the command line
before the options file is loaded.
This commit is contained in:
parent
53dca7bc99
commit
e613304ae7
@ -1,3 +1,8 @@
|
||||
2002-10-17 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* g10.c (main): Handle --strict and --no-strict from the command
|
||||
line before the options file is loaded.
|
||||
|
||||
2002-10-15 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* g10.c (main): Disable --textmode when encrypting (symmetric or
|
||||
|
10
g10/g10.c
10
g10/g10.c
@ -1166,6 +1166,16 @@ main( int argc, char **argv )
|
||||
set_homedir ( pargs.r.ret_str );
|
||||
else if( pargs.r_opt == oNoPermissionWarn )
|
||||
opt.no_perm_warn=1;
|
||||
else if (pargs.r_opt == oStrict )
|
||||
{
|
||||
opt.strict=1;
|
||||
log_set_strict(1);
|
||||
}
|
||||
else if (pargs.r_opt == oNoStrict )
|
||||
{
|
||||
opt.strict=0;
|
||||
log_set_strict(0);
|
||||
}
|
||||
#ifdef USE_SHM_COPROCESSING
|
||||
else if( pargs.r_opt == oRunAsShmCP ) {
|
||||
/* does not make sense in a options file, we do it here,
|
||||
|
Loading…
x
Reference in New Issue
Block a user