summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2023-01-03 22:05:14 +0800
committerMatt Johnston <matt@ucc.asn.au>2023-01-03 22:05:14 +0800
commit39d955c49f31fc155e885447ee2be61c869d8c2d (patch)
tree2eab5f3fcbae54a82a8637c48ee12de82a3eca00
parentc043efb47c3173072fa636ca0da0d19875d4511f (diff)
downloaddropbear-39d955c49f31fc155e885447ee2be61c869d8c2d.tar.gz
Add missing break in switch
Has no effect on execution, the fallthrough does nothing Closes #208
-rw-r--r--dropbearkey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dropbearkey.c b/dropbearkey.c
index e554e5b..bd9c6af 100644
--- a/dropbearkey.c
+++ b/dropbearkey.c
@@ -139,6 +139,7 @@ static void check_signkey_bits(enum signkey_type type, int bits)
dropbear_exit("DSS keys have a fixed size of 1024 bits\n");
exit(EXIT_FAILURE);
}
+ break;
#endif
default:
(void)0; /* quiet, compiler. ecdsa handles checks itself */