aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2017-06-25 21:40:43 +0100
committerStijn Tintel <stijn@linux-ipv6.be>2017-06-28 02:18:20 +0200
commit9aaf3d3501642640c9ec74268e671171c8de6103 (patch)
treed5e4207af0ace058edbde3191d15d9994e1ffbf6 /package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch
parent37c1513b1f98c93bf84bbcedd9782568e7d4abba (diff)
downloadupstream-9aaf3d3501642640c9ec74268e671171c8de6103.tar.gz
upstream-9aaf3d3501642640c9ec74268e671171c8de6103.tar.bz2
upstream-9aaf3d3501642640c9ec74268e671171c8de6103.zip
dropbear: server support option '-T' max auth tries
Add support for '-T n' for a run-time specification for maximum number of authentication attempts where 'n' is between 1 and compile time option MAX_AUTH_TRIES. A default number of tries can be specified at compile time using 'DEFAULT_AUTH_TRIES' which itself defaults to MAX_AUTH_TRIES for backwards compatibility. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch')
-rw-r--r--package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch b/package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch
index f6453a4626..a555a9e498 100644
--- a/package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch
+++ b/package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.patch
@@ -1,6 +1,6 @@
--- a/svr-runopts.c
+++ b/svr-runopts.c
-@@ -488,6 +488,7 @@ void load_all_hostkeys() {
+@@ -505,6 +505,7 @@ void load_all_hostkeys() {
m_free(hostkey_file);
}
@@ -8,7 +8,7 @@
#ifdef DROPBEAR_RSA
loadhostkey(RSA_PRIV_FILENAME, 0);
#endif
-@@ -499,6 +500,7 @@ void load_all_hostkeys() {
+@@ -516,6 +517,7 @@ void load_all_hostkeys() {
#ifdef DROPBEAR_ECDSA
loadhostkey(ECDSA_PRIV_FILENAME, 0);
#endif