assertion for case that shouldn't happen

This commit is contained in:
Matt Johnston 2016-03-15 23:20:01 +08:00
parent c67fc5693a
commit 098aba47c3

View File

@ -138,7 +138,7 @@ static void svr_ensure_hostkey() {
break;
#endif
default:
(void)0;
dropbear_assert(0);
}
if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) {