comparison signkey.c @ 847:f4bb964c8678 keyondemand

Add '-R' for delayed hostkey option
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Nov 2013 23:49:37 +0800
parents b298bb438625
children 7540c0822374
comparison
equal deleted inserted replaced
846:b298bb438625 847:f4bb964c8678
349 #ifdef DROPBEAR_RSA 349 #ifdef DROPBEAR_RSA
350 rsa_key_free(key->rsakey); 350 rsa_key_free(key->rsakey);
351 key->rsakey = NULL; 351 key->rsakey = NULL;
352 #endif 352 #endif
353 #ifdef DROPBEAR_ECDSA 353 #ifdef DROPBEAR_ECDSA
354 #ifdef DROPBEAR_ECC_256
354 if (key->ecckey256) { 355 if (key->ecckey256) {
355 ecc_free(key->ecckey256); 356 ecc_free(key->ecckey256);
356 key->ecckey256 = NULL; 357 key->ecckey256 = NULL;
357 } 358 }
359 #endif
360 #ifdef DROPBEAR_ECC_384
358 if (key->ecckey384) { 361 if (key->ecckey384) {
359 ecc_free(key->ecckey384); 362 ecc_free(key->ecckey384);
360 key->ecckey384 = NULL; 363 key->ecckey384 = NULL;
361 } 364 }
365 #endif
366 #ifdef DROPBEAR_ECC_521
362 if (key->ecckey521) { 367 if (key->ecckey521) {
363 ecc_free(key->ecckey521); 368 ecc_free(key->ecckey521);
364 key->ecckey521 = NULL; 369 key->ecckey521 = NULL;
365 } 370 }
371 #endif
366 #endif 372 #endif
367 373
368 m_free(key->filename); 374 m_free(key->filename);
369 375
370 m_free(key); 376 m_free(key);