Mercurial > dropbear
comparison signkey.c @ 1249:c6346c63281b
refactor indentation with hard tab
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Thu, 31 Dec 2015 15:59:01 +0100 |
parents | aaf576b27a10 |
children | 55d485943eb0 139935236c72 |
comparison
equal
deleted
inserted
replaced
1221:f7d565054e5f | 1249:c6346c63281b |
---|---|
315 TRACE(("type is %d", type)) | 315 TRACE(("type is %d", type)) |
316 | 316 |
317 #ifdef DROPBEAR_DSS | 317 #ifdef DROPBEAR_DSS |
318 if (type == DROPBEAR_SIGNKEY_DSS) { | 318 if (type == DROPBEAR_SIGNKEY_DSS) { |
319 buf_put_dss_priv_key(buf, key->dsskey); | 319 buf_put_dss_priv_key(buf, key->dsskey); |
320 TRACE(("leave buf_put_priv_key: dss done")) | 320 TRACE(("leave buf_put_priv_key: dss done")) |
321 return; | 321 return; |
322 } | 322 } |
323 #endif | 323 #endif |
324 #ifdef DROPBEAR_RSA | 324 #ifdef DROPBEAR_RSA |
325 if (type == DROPBEAR_SIGNKEY_RSA) { | 325 if (type == DROPBEAR_SIGNKEY_RSA) { |
326 buf_put_rsa_priv_key(buf, key->rsakey); | 326 buf_put_rsa_priv_key(buf, key->rsakey); |
327 TRACE(("leave buf_put_priv_key: rsa done")) | 327 TRACE(("leave buf_put_priv_key: rsa done")) |
328 return; | 328 return; |
329 } | 329 } |
330 #endif | 330 #endif |
331 #ifdef DROPBEAR_ECDSA | 331 #ifdef DROPBEAR_ECDSA |
332 if (signkey_is_ecdsa(type)) { | 332 if (signkey_is_ecdsa(type)) { |
333 ecc_key **eck = (ecc_key**)signkey_key_ptr(key, type); | 333 ecc_key **eck = (ecc_key**)signkey_key_ptr(key, type); |