dropbear: update to 2013.59 (released 4 october 2013)
[openwrt/svn-archive/archive.git] / package / network / services / dropbear / patches / 120-openwrt_options.patch
1 --- a/options.h
2 +++ b/options.h
3 @@ -38,7 +38,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 @@ -49,7 +49,7 @@
13 several kB in binary size however will make the symmetrical ciphers and hashes
14 slower, perhaps by 50%. Recommended for small systems that aren't doing
15 much traffic. */
16 -/*#define DROPBEAR_SMALL_CODE*/
17 +#define DROPBEAR_SMALL_CODE
18
19 /* Enable X11 Forwarding - server only */
20 #define ENABLE_X11FWD
21 @@ -78,7 +78,7 @@ much traffic. */
22
23 /* Enable "Netcat mode" option. This will forward standard input/output
24 * to a remote TCP-forwarded connection */
25 -#define ENABLE_CLI_NETCAT
26 +/*#define ENABLE_CLI_NETCAT*/
27
28 /* Whether to support "-c" and "-m" flags to choose ciphers/MACs at runtime */
29 #define ENABLE_USER_ALGO_LIST
30 @@ -92,8 +92,8 @@ much traffic. */
31 #define DROPBEAR_AES256
32 /* Compiling in Blowfish will add ~6kB to runtime heap memory usage */
33 /*#define DROPBEAR_BLOWFISH*/
34 -#define DROPBEAR_TWOFISH256
35 -#define DROPBEAR_TWOFISH128
36 +/*#define DROPBEAR_TWOFISH256
37 +#define DROPBEAR_TWOFISH128*/
38
39 /* Enable "Counter Mode" for ciphers. This is more secure than normal
40 * CBC mode against certain attacks. This adds around 1kB to binary
41 @@ -119,7 +119,7 @@ much traffic. */
42 * If you disable MD5, Dropbear will fall back to SHA1 fingerprints,
43 * which are not the standard form. */
44 #define DROPBEAR_SHA1_HMAC
45 -#define DROPBEAR_SHA1_96_HMAC
46 +/*#define DROPBEAR_SHA1_96_HMAC*/
47 /*#define DROPBEAR_SHA2_256_HMAC*/
48 /*#define DROPBEAR_SHA2_512_HMAC*/
49 #define DROPBEAR_MD5_HMAC
50 @@ -157,7 +157,7 @@ much traffic. */
51
52 /* Whether to print the message of the day (MOTD). This doesn't add much code
53 * size */
54 -#define DO_MOTD
55 +/*#define DO_MOTD*/
56
57 /* The MOTD file path */
58 #ifndef MOTD_FILENAME
59 @@ -195,7 +195,7 @@ much traffic. */
60 * note that it will be provided for all "hidden" client-interactive
61 * style prompts - if you want something more sophisticated, use
62 * SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
63 -#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"
64 +/*#define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"*/
65
66 /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of
67 * a helper program for the ssh client. The helper program should be