comparison dropbearkey.c @ 1683:41bf8f216644

merge rsa-sha256
author Matt Johnston <matt@ucc.asn.au>
date Tue, 26 May 2020 00:24:02 +0800
parents 435cfb9ec96e
children be236878efcf
comparison
equal deleted inserted replaced
1673:e0871128e61f 1683:41bf8f216644
131 dropbear_exit("Bits must satisfy 512 <= bits <= 4096, and be a" 131 dropbear_exit("Bits must satisfy 512 <= bits <= 4096, and be a"
132 " multiple of 8\n"); 132 " multiple of 8\n");
133 } 133 }
134 break; 134 break;
135 #endif 135 #endif
136 #ifdef DROPEAR_DSS 136 #if DROPEAR_DSS
137 case DROPBEAR_SIGNKEY_DSS: 137 case DROPBEAR_SIGNKEY_DSS:
138 if (bits != 1024) { 138 if (bits != 1024) {
139 dropbear_exit("DSS keys have a fixed size of 1024 bits\n"); 139 dropbear_exit("DSS keys have a fixed size of 1024 bits\n");
140 exit(EXIT_FAILURE); 140 exit(EXIT_FAILURE);
141 } 141 }