Upgrade dropbear to 0.50 (#2201)
[openwrt/svn-archive/archive.git] / package / dropbear / patches / 150-dbconvert_standalone.patch
1 Index: dropbear-0.50/options.h
2 ===================================================================
3 --- dropbear-0.50.orig/options.h 2007-08-10 23:47:47.000000000 +0200
4 +++ dropbear-0.50/options.h 2007-08-10 23:47:49.000000000 +0200
5 @@ -5,6 +5,11 @@
6 #ifndef _OPTIONS_H_
7 #define _OPTIONS_H_
8
9 +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
10 +#define DROPBEAR_SERVER
11 +#define DROPBEAR_CLIENT
12 +#endif
13 +
14 /******************************************************************
15 * Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
16 * parts are to allow for commandline -DDROPBEAR_XXX options etc.