Mercurial > dropbear
diff signkey.c @ 1256:506f7681d0f8 coverity
merge up to date
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 15 Mar 2016 22:45:43 +0800 |
parents | 55d485943eb0 |
children | 0c47d97aa9d5 |
line wrap: on
line diff
--- a/signkey.c Tue Dec 15 22:24:34 2015 +0800 +++ b/signkey.c Tue Mar 15 22:45:43 2016 +0800 @@ -93,7 +93,7 @@ } #endif - return i; + return (enum signkey_type)i; } } @@ -317,15 +317,15 @@ #ifdef DROPBEAR_DSS if (type == DROPBEAR_SIGNKEY_DSS) { buf_put_dss_priv_key(buf, key->dsskey); - TRACE(("leave buf_put_priv_key: dss done")) - return; + TRACE(("leave buf_put_priv_key: dss done")) + return; } #endif #ifdef DROPBEAR_RSA if (type == DROPBEAR_SIGNKEY_RSA) { buf_put_rsa_priv_key(buf, key->rsakey); - TRACE(("leave buf_put_priv_key: rsa done")) - return; + TRACE(("leave buf_put_priv_key: rsa done")) + return; } #endif #ifdef DROPBEAR_ECDSA