diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
commit | 2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch) | |
tree | bf879bea7ef8517ba8c3d1286ef300401d3d484c /dropbear/dropbear-0.42/allow-nopw.patch | |
parent | 101e2f1623def0a355d20aacb8bd93810703e834 (diff) |
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded
2004/12/09 03:39:39-06:00 kergoth.com!kergoth
Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit.
BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'dropbear/dropbear-0.42/allow-nopw.patch')
-rw-r--r-- | dropbear/dropbear-0.42/allow-nopw.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/dropbear/dropbear-0.42/allow-nopw.patch b/dropbear/dropbear-0.42/allow-nopw.patch deleted file mode 100644 index cc916a8242..0000000000 --- a/dropbear/dropbear-0.42/allow-nopw.patch +++ /dev/null @@ -1,39 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- dropbear-0.41/auth.c~allow-nopw -+++ dropbear-0.41/auth.c -@@ -225,6 +225,7 @@ - } - - /* check for an empty password */ -+#ifdef DISALLOW_EMPTY_PW - if (ses.authstate.pw->pw_passwd[0] == '\0') { - TRACE(("leave checkusername: empty pword")); - dropbear_log(LOG_WARNING, "user '%s' has blank password, rejected", -@@ -232,6 +233,7 @@ - send_msg_userauth_failure(0, 1); - return DROPBEAR_FAILURE; - } -+#endif - - TRACE(("shell is %s", ses.authstate.pw->pw_shell)); - ---- dropbear-0.41/authpasswd.c~allow-nopw -+++ dropbear-0.41/authpasswd.c -@@ -65,9 +65,13 @@ - * since the shadow password may differ to that tested - * in auth.c */ - if (passwdcrypt[0] == '\0') { -+#ifdef DISALLOW_EMPTY_PASSWD - dropbear_log(LOG_WARNING, "user '%s' has blank password, rejected", - ses.authstate.printableuser); - send_msg_userauth_failure(0, 1); -+#else -+ send_msg_userauth_success(); -+#endif - return; - } - |