summaryrefslogtreecommitdiffhomepage
path: root/svr-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-15 23:20:01 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-15 23:20:01 +0800
commit098aba47c33f4095ab185627fa7473d2954a678e (patch)
tree9af5ce578ad5424706f6a835512b45112d4e5c07 /svr-kex.c
parentc67fc5693a8e4f88e83499a7fc7316c7ad5095ef (diff)
assertion for case that shouldn't happen
Diffstat (limited to 'svr-kex.c')
-rw-r--r--svr-kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-kex.c b/svr-kex.c
index 96f4508..f3828aa 100644
--- a/svr-kex.c
+++ b/svr-kex.c
@@ -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) {