changeset 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 3a383aaeb487
children 770e14154da3 a20b6af6f182
files svr-kex.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svr-kex.c	Tue Mar 15 23:03:59 2016 +0800
+++ b/svr-kex.c	Tue Mar 15 23:20:01 2016 +0800
@@ -138,7 +138,7 @@
 			break;
 #endif
 		default:
-			(void)0;
+			dropbear_assert(0);
 	}
 
 	if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) {