comparison svr-kex.c @ 1260:c8f52c19e949

assertion for case that shouldn't happen
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 23:20:01 +0800
parents aaf576b27a10
children 56aba7dedbea efad433418c4
comparison
equal deleted inserted replaced
1259:3a383aaeb487 1260:c8f52c19e949
136 case DROPBEAR_SIGNKEY_ECDSA_NISTP521: 136 case DROPBEAR_SIGNKEY_ECDSA_NISTP521:
137 fn = ECDSA_PRIV_FILENAME; 137 fn = ECDSA_PRIV_FILENAME;
138 break; 138 break;
139 #endif 139 #endif
140 default: 140 default:
141 (void)0; 141 dropbear_assert(0);
142 } 142 }
143 143
144 if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) { 144 if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) {
145 return; 145 return;
146 } 146 }