/[pkgs]/rpms/openssh/devel/openssh-5.3p1-skip-initial.patch
ViewVC logotype

Contents of /rpms/openssh/devel/openssh-5.3p1-skip-initial.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Fri Oct 2 13:17:07 2009 UTC (7 weeks, 4 days ago) by jfch2222
Branch: MAIN
CVS Tags: openssh-5_3p1-10_fc13, openssh-5_3p1-4_fc13, openssh-5_3p1-1_fc13, openssh-5_3p1-2_fc13, openssh-5_3p1-5_fc13, openssh-5_3p1-3_fc13, openssh-5_3p1-6_fc13, openssh-5_3p1-9_fc13, openssh-5_3p1-7_fc13, openssh-5_3p1-8_fc13, HEAD
File MIME type: text/x-patch
Upgrade to new wersion 5.3p1
1 diff -up openssh-5.3p1/auth1.c.skip-initial openssh-5.3p1/auth1.c
2 --- openssh-5.3p1/auth1.c.skip-initial 2009-03-08 01:40:28.000000000 +0100
3 +++ openssh-5.3p1/auth1.c 2009-10-02 13:55:00.000000000 +0200
4 @@ -244,7 +244,7 @@ do_authloop(Authctxt *authctxt)
5 authctxt->valid ? "" : "invalid user ", authctxt->user);
6
7 /* If the user has no password, accept authentication immediately. */
8 - if (options.password_authentication &&
9 + if (options.permit_empty_passwd && options.password_authentication &&
10 #ifdef KRB5
11 (!options.kerberos_authentication || options.kerberos_or_local_passwd) &&
12 #endif
13 diff -up openssh-5.3p1/auth2-none.c.skip-initial openssh-5.3p1/auth2-none.c
14 --- openssh-5.3p1/auth2-none.c.skip-initial 2009-03-08 01:40:28.000000000 +0100
15 +++ openssh-5.3p1/auth2-none.c 2009-10-02 13:56:21.000000000 +0200
16 @@ -61,7 +61,7 @@ userauth_none(Authctxt *authctxt)
17 {
18 none_enabled = 0;
19 packet_check_eom();
20 - if (options.password_authentication)
21 + if (options.permit_empty_passwd && options.password_authentication)
22 return (PRIVSEP(auth_password(authctxt, "")));
23 return (0);
24 }

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2