comparison dropbearkey.c @ 1681:435cfb9ec96e

send and handle SSH_MSG_EXT_INFO only at the correct point - other fixes for rsa pubkey auth - only include ext-info handling when rsa pubkey auth is compiled
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 May 2020 14:16:58 +0800
parents d32bcb5c557d
children be236878efcf
comparison
equal deleted inserted replaced
1680:5e763ad6e2e0 1681:435cfb9ec96e
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 }