diff options
| author | Konstantin Demin | 2025-08-20 06:55:47 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-08-23 16:25:11 +0000 |
| commit | 3e5f8a036410987799c9d1cbbd5604aaa94a4a8d (patch) | |
| tree | d894c4bb4dda45596b764c0277fd444e61284039 | |
| parent | e7ed87b83b62cc3920cf1f25abbf6f06c96fee66 (diff) | |
| download | openwrt-3e5f8a036410987799c9d1cbbd5604aaa94a4a8d.tar.gz | |
dropbear: fix missing depends for sntrup761x25519-sha512
resolves FTBFS where internal option DROPBEAR_SHA512 wasn't enabled by any of options
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19715
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/network/services/dropbear/patches/052-fix-missing-depends-for-sntrup761x25519-sha512.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/network/services/dropbear/patches/052-fix-missing-depends-for-sntrup761x25519-sha512.patch b/package/network/services/dropbear/patches/052-fix-missing-depends-for-sntrup761x25519-sha512.patch new file mode 100644 index 0000000000..82edb7cd72 --- /dev/null +++ b/package/network/services/dropbear/patches/052-fix-missing-depends-for-sntrup761x25519-sha512.patch @@ -0,0 +1,24 @@ +From 4bc1e18948d0918bcb1338a5f1e7856478abf985 Mon Sep 17 00:00:00 2001 +From: Konstantin Demin <rockdrilla@gmail.com> +Date: Fri, 8 Aug 2025 10:02:44 +0300 +Subject: fix missing depends for sntrup761x25519-sha512 + +fixes 440b7b5c4f "Add sntrup761x25519-sha512 post-quantum key exchange" + +Signed-off-by: Konstantin Demin <rockdrilla@gmail.com> +Forwarded: https://github.com/mkj/dropbear/pull/375 +--- + src/sysoptions.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/sysoptions.h ++++ b/src/sysoptions.h +@@ -207,7 +207,7 @@ + /* LTC SHA384 depends on SHA512 */ + #define DROPBEAR_SHA512 ((DROPBEAR_SHA2_512_HMAC) || (DROPBEAR_ECC_521) \ + || (DROPBEAR_SHA384) || (DROPBEAR_DH_GROUP16) \ +- || (DROPBEAR_ED25519)) ++ || (DROPBEAR_ED25519) || (DROPBEAR_SNTRUP761)) + + #define DROPBEAR_DH_GROUP14 ((DROPBEAR_DH_GROUP14_SHA256) || (DROPBEAR_DH_GROUP14_SHA1)) + |