* security.cc (allow_ntsec): Default to zero.

* environ.cc (environ_init): Set allow_ntsec to TRUE by default, assuming OS
allows it.
This commit is contained in:
Christopher Faylor
2002-09-30 03:05:13 +00:00
parent 0fa64fa3a7
commit f789fbbf35
3 changed files with 7 additions and 3 deletions

View File

@ -675,11 +675,9 @@ environ_init (char **envp, int envc)
if (myself->progname[0])
got_something_from_registry = regopt (myself->progname) || got_something_from_registry;
#ifdef NTSEC_ON_BY_DEFAULT
/* Set ntsec explicit as default, if NT is running */
if (wincap.has_security ())
allow_ntsec = TRUE;
#endif
if (!envp)
envp_passed_in = 0;