dropbear: update to 2014.63
[15.05/openwrt.git] / package / network / services / dropbear / patches / 120-openwrt_options.patch
1 --- a/options.h
2 +++ b/options.h
3 @@ -41,7 +41,7 @@
4   * Both of these flags can be defined at once, don't compile without at least
5   * one of them. */
6  #define NON_INETD_MODE
7 -#define INETD_MODE
8 +/*#define INETD_MODE*/
9  
10  /* Setting this disables the fast exptmod bignum code. It saves ~5kB, but is
11   * perhaps 20% slower for pubkey operations (it is probably worth experimenting
12 @@ -81,7 +81,7 @@ much traffic. */
13  
14  /* Enable "Netcat mode" option. This will forward standard input/output
15   * to a remote TCP-forwarded connection */
16 -#define ENABLE_CLI_NETCAT
17 +/*#define ENABLE_CLI_NETCAT*/
18  
19  /* Whether to support "-c" and "-m" flags to choose ciphers/MACs at runtime */
20  #define ENABLE_USER_ALGO_LIST
21 @@ -95,8 +95,8 @@ much traffic. */
22  #define DROPBEAR_AES256
23  /* Compiling in Blowfish will add ~6kB to runtime heap memory usage */
24  /*#define DROPBEAR_BLOWFISH*/
25 -#define DROPBEAR_TWOFISH256
26 -#define DROPBEAR_TWOFISH128
27 +/*#define DROPBEAR_TWOFISH256
28 +#define DROPBEAR_TWOFISH128*/
29  
30  /* Enable "Counter Mode" for ciphers. This is more secure than normal
31   * CBC mode against certain attacks. This adds around 1kB to binary 
32 @@ -122,7 +122,7 @@ much traffic. */
33   * If you disable MD5, Dropbear will fall back to SHA1 fingerprints,
34   * which are not the standard form. */
35  #define DROPBEAR_SHA1_HMAC
36 -#define DROPBEAR_SHA1_96_HMAC
37 +/*#define DROPBEAR_SHA1_96_HMAC*/
38  /*#define DROPBEAR_SHA2_256_HMAC*/
39  /*#define DROPBEAR_SHA2_512_HMAC*/
40  #define DROPBEAR_MD5_HMAC
41 @@ -175,7 +175,7 @@ much traffic. */
42  
43  /* Whether to print the message of the day (MOTD). This doesn't add much code
44   * size */
45 -#define DO_MOTD
46 +/*#define DO_MOTD*/
47  
48  /* The MOTD file path */
49  #ifndef MOTD_FILENAME
50 @@ -213,7 +213,7 @@ much traffic. */
51   * note that it will be provided for all "hidden" client-interactive
52   * style prompts - if you want something more sophisticated, use 
53   * SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
54 -#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"
55 +/*#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"*/
56  
57  /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of
58   * a helper program for the ssh client. The helper program should be