dropbear: cherry-pick upstream patches
[openwrt/staging/robimarko.git] / package / network / services / dropbear / patches / 003-fix-DROPBEAR_DSS.patch
1 From c043efb47c3173072fa636ca0da0d19875d4511f Mon Sep 17 00:00:00 2001
2 From: Matt Johnston <matt@ucc.asn.au>
3 Date: Tue, 6 Dec 2022 22:34:11 +0800
4 Subject: Fix so DROPBEAR_DSS is only forced for fuzzing
5
6 Regression from 787391ea3b5af2acf5e3c83372510f0c79477ad7,
7 was missing fuzzing conditional
8 ---
9 sysoptions.h | 2 ++
10 1 file changed, 2 insertions(+)
11
12 --- a/sysoptions.h
13 +++ b/sysoptions.h
14 @@ -380,9 +380,11 @@
15 #endif
16
17 /* Fuzzing expects all key types to be enabled */
18 +#if DROPBEAR_FUZZ
19 #if defined(DROPBEAR_DSS)
20 #undef DROPBEAR_DSS
21 #endif
22 #define DROPBEAR_DSS 1
23 +#endif
24
25 /* no include guard for this file */