diff options
author | David Shaw <[email protected]> | 2002-10-17 11:50:46 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-10-17 11:50:46 +0000 |
commit | e613304ae7b50ab87f7df57e352fec41b128e3e4 (patch) | |
tree | f9c11e302c3b488f6efe5b88fa04836ee9a2daeb /g10/g10.c | |
parent | Florian Weimer reminded me about that (diff) | |
download | gnupg-e613304ae7b50ab87f7df57e352fec41b128e3e4.tar.gz gnupg-e613304ae7b50ab87f7df57e352fec41b128e3e4.zip |
* g10.c (main): Handle --strict and --no-strict from the command line
before the options file is loaded.
Diffstat (limited to '')
-rw-r--r-- | g10/g10.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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, |