summaryrefslogtreecommitdiff
path: root/svr-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2022-01-23 17:29:39 +0800
committerMatt Johnston <matt@ucc.asn.au>2022-01-23 17:29:39 +0800
commitc0fae5bf2268343f6dfd3f96524731f691c035a1 (patch)
treed3eb0fb42b86ef4ecc6fbba18fad0f654d9cf606 /svr-runopts.c
parent9016cf65b88ec1d547341203567da37e4db88673 (diff)
downloaddropbear-c0fae5bf2268343f6dfd3f96524731f691c035a1.tar.gz
Don't include sk keys at all in KEX list
Diffstat (limited to 'svr-runopts.c')
-rw-r--r--svr-runopts.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/svr-runopts.c b/svr-runopts.c
index e1ec394..02ec2d4 100644
--- a/svr-runopts.c
+++ b/svr-runopts.c
@@ -668,12 +668,6 @@ void load_all_hostkeys() {
any_keys = 1;
}
#endif
-#if DROPBEAR_SK_ECDSA
- disablekey(DROPBEAR_SIGNKEY_SK_ECDSA_NISTP256);
-#endif
-#if DROPBEAR_SK_ED25519
- disablekey(DROPBEAR_SIGNKEY_SK_ED25519);
-#endif
if (!any_keys) {
dropbear_exit("No hostkeys available. 'dropbear -R' may be useful or run dropbearkey.");