diff 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
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) {