More clean up.

Corinna Vinschen vinschen at redhat.com
Mon Feb 5 18:46:17 EST 2001


On Sun, Feb 04, 2001 at 09:23:07PM -0600, mouring at etoh.eviladmin.org wrote:
> 
> I assume you don't have too much of a problem with this change?  I ran
> accross it recently.
> 
> --- ../openssh/auth-passwd.c    Sun Jan 21 23:34:40 2001
> +++ auth-passwd.c       Sun Feb  4 21:18:29 2001
> @@ -112,8 +112,7 @@
>  #ifndef HAVE_CYGWIN
>         if (pw->pw_uid == 0 && options.permit_root_login == 2)
>                 return 0;
> -#endif
> -#ifdef HAVE_CYGWIN
> +#else
>         /*
>          * Empty password is only possible on NT if the user has _really_
>          * an empty password and authentication is done, though.

The reason _not_ to use #else was that both parts of the code are not
causal related. Both parts could change independent of the other so
I assumed an #else as unsuitable.

However, the patch wouldn't change the behaviour so you can decide it
by yourself.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com





More information about the openssh-unix-dev mailing list