comparison svr-kex.c @ 1261:770e14154da3 coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 23:20:40 +0800
parents c8f52c19e949
children 56aba7dedbea efad433418c4
comparison
equal deleted inserted replaced
1256:506f7681d0f8 1261:770e14154da3
136 case DROPBEAR_SIGNKEY_ECDSA_NISTP521: 136 case DROPBEAR_SIGNKEY_ECDSA_NISTP521:
137 fn = ECDSA_PRIV_FILENAME; 137 fn = ECDSA_PRIV_FILENAME;
138 break; 138 break;
139 #endif 139 #endif
140 default: 140 default:
141 (void)0; 141 dropbear_assert(0);
142 } 142 }
143 143
144 if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) { 144 if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) {
145 return; 145 return;
146 } 146 }