patch-options_h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- dropbear-0.52.orig/options.h 2008-11-11 15:13:50.000000000 +0100
  3. +++ dropbear-0.52/options.h 2010-01-22 17:55:09.000000000 +0100
  4. @@ -10,6 +10,11 @@
  5. * parts are to allow for commandline -DDROPBEAR_XXX options etc.
  6. ******************************************************************/
  7. +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
  8. +#define DROPBEAR_SERVER
  9. +#define DROPBEAR_CLIENT
  10. +#endif
  11. +
  12. #ifndef DROPBEAR_DEFPORT
  13. #define DROPBEAR_DEFPORT "22"
  14. #endif
  15. @@ -115,7 +120,7 @@ etc) slower (perhaps by 50%). Recommende
  16. * Removing either of these won't save very much space.
  17. * SSH2 RFC Draft requires dss, recommends rsa */
  18. #define DROPBEAR_RSA
  19. -#define DROPBEAR_DSS
  20. +/* #define DROPBEAR_DSS */
  21. /* RSA can be vulnerable to timing attacks which use the time required for
  22. * signing to guess the private key. Blinding avoids this attack, though makes
  23. @@ -129,7 +134,7 @@ etc) slower (perhaps by 50%). Recommende
  24. /* #define DSS_PROTOK */
  25. /* Whether to do reverse DNS lookups. */
  26. -#define DO_HOST_LOOKUP
  27. +/* #define DO_HOST_LOOKUP */
  28. /* Whether to print the message of the day (MOTD). This doesn't add much code
  29. * size */
  30. @@ -220,7 +225,7 @@ etc) slower (perhaps by 50%). Recommende
  31. /* The command to invoke for xauth when using X11 forwarding.
  32. * "-q" for quiet */
  33. #ifndef XAUTH_COMMAND
  34. -#define XAUTH_COMMAND "/usr/X11R6/bin/xauth -q"
  35. +#define XAUTH_COMMAND "/usr/bin/xauth -q"
  36. #endif
  37. /* if you want to enable running an sftp server (such as the one included with