summaryrefslogtreecommitdiffhomepage
path: root/dropbearkey.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-01-01 15:02:09 +0100
committerFrancois Perrad <francois.perrad@gadz.org>2016-01-01 15:02:09 +0100
commit9bda22e70219c3056c07837803d0289b76453adb (patch)
tree0da32b7188892b1faea5fb1a6a3d97f587a8b54e /dropbearkey.c
parent23ac7f56fa2acd9f35e6b8ca36602f3c14e986cd (diff)
more hard tab
Diffstat (limited to 'dropbearkey.c')
-rw-r--r--dropbearkey.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/dropbearkey.c b/dropbearkey.c
index 0d13b38..644de94 100644
--- a/dropbearkey.c
+++ b/dropbearkey.c
@@ -105,25 +105,25 @@ static void printhelp(char * progname) {
/* fails fatally */
static void check_signkey_bits(enum signkey_type type, int bits)
{
- switch (type) {
+ switch (type) {
#ifdef DROPBEAR_RSA
- case DROPBEAR_SIGNKEY_RSA:
- if (bits < 512 || bits > 4096 || (bits % 8 != 0)) {
- dropbear_exit("Bits must satisfy 512 <= bits <= 4096, and be a"
- " multiple of 8\n");
- }
- break;
+ case DROPBEAR_SIGNKEY_RSA:
+ if (bits < 512 || bits > 4096 || (bits % 8 != 0)) {
+ dropbear_exit("Bits must satisfy 512 <= bits <= 4096, and be a"
+ " multiple of 8\n");
+ }
+ break;
#endif
#ifdef DROPEAR_DSS
- case DROPBEAR_SIGNKEY_DSS:
- if (bits != 1024) {
- dropbear_exit("DSS keys have a fixed size of 1024 bits\n");
- exit(EXIT_FAILURE);
- }
+ case DROPBEAR_SIGNKEY_DSS:
+ if (bits != 1024) {
+ dropbear_exit("DSS keys have a fixed size of 1024 bits\n");
+ exit(EXIT_FAILURE);
+ }
#endif
- default:
- (void)0; /* quiet, compiler. ecdsa handles checks itself */
- }
+ default:
+ (void)0; /* quiet, compiler. ecdsa handles checks itself */
+ }
}
#if defined(DBMULTI_dropbearkey) || !defined(DROPBEAR_MULTI)