2018-04-22 19:22:48 +00:00
|
|
|
diff -uNr dropbear-2018.76/sysoptions.h dropbear-2018.76.mod/sysoptions.h
|
|
|
|
--- dropbear-2018.76/sysoptions.h 2018-02-27 16:25:12.000000000 +0200
|
2018-10-21 12:20:48 +00:00
|
|
|
+++ dropbear-2018.76.mod/sysoptions.h 2018-10-21 13:49:10.558094478 +0300
|
2018-04-22 19:22:48 +00:00
|
|
|
@@ -71,7 +71,7 @@
|
|
|
|
|
|
|
|
#define _PATH_TTY "/dev/tty"
|
|
|
|
|
|
|
|
-#define _PATH_CP "/bin/cp"
|
|
|
|
+#define _PATH_CP "@TERMUX_PREFIX@/bin/cp"
|
|
|
|
|
|
|
|
#define DROPBEAR_ESCAPE_CHAR '~'
|
|
|
|
|
2022-11-15 11:43:46 +00:00
|
|
|
@@ -85,7 +85,7 @@
|
|
|
|
-DCOMPAT_USER_SHELLS='"/bin/sh","/apps/bin/sh","/data/bin/zsh"'
|
|
|
|
*/
|
|
|
|
#ifndef COMPAT_USER_SHELLS
|
|
|
|
-#define COMPAT_USER_SHELLS "/bin/sh","/bin/csh"
|
|
|
|
+#define COMPAT_USER_SHELLS "@TERMUX_PREFIX@/bin/sh","@TERMUX_PREFIX@/bin/csh"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define DROPBEAR_ESCAPE_CHAR '~'
|
2018-10-21 12:20:48 +00:00
|
|
|
@@ -233,10 +233,6 @@
|
|
|
|
#error "DROPBEAR_SVR_PATM_AUTH requires PAM headers. Perhaps ./configure --enable-pam ?"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#if DROPBEAR_SVR_PASSWORD_AUTH && !HAVE_CRYPT
|
|
|
|
- #error "DROPBEAR_SVR_PASSWORD_AUTH requires `crypt()'."
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#if !(DROPBEAR_SVR_PASSWORD_AUTH || DROPBEAR_SVR_PAM_AUTH || DROPBEAR_SVR_PUBKEY_AUTH)
|
|
|
|
#error "At least one server authentication type must be enabled. DROPBEAR_SVR_PUBKEY_AUTH and DROPBEAR_SVR_PASSWORD_AUTH are recommended."
|
|
|
|
#endif
|
2022-11-15 11:43:46 +00:00
|
|
|
@@ -382,10 +378,12 @@
|
|
|
|
#define DROPBEAR_MULTI 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifndef __ANDROID__
|
|
|
|
/* Fuzzing expects all key types to be enabled */
|
|
|
|
#if defined(DROPBEAR_DSS)
|
|
|
|
#undef DROPBEAR_DSS
|
|
|
|
#endif
|
|
|
|
#define DROPBEAR_DSS 1
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
/* no include guard for this file */
|