Commit 098aba47 authored by Matt Johnston's avatar Matt Johnston
Browse files

assertion for case that shouldn't happen

parent c67fc569
...@@ -138,7 +138,7 @@ static void svr_ensure_hostkey() { ...@@ -138,7 +138,7 @@ static void svr_ensure_hostkey() {
break; break;
#endif #endif
default: default:
(void)0; dropbear_assert(0);
} }
if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) { if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment