diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-07 23:49:37 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-07 23:49:37 +0800 |
commit | 58fe1c2d2a48cd51e1bafeee8e1e20f7201f31df (patch) | |
tree | e82591920439b124a0947b7d6dbb351bfbe8c053 /signkey.c | |
parent | 4363b8b32deb69b30b756a34a720e67d1c3708fe (diff) |
Add '-R' for delayed hostkey option
--HG--
branch : keyondemand
Diffstat (limited to 'signkey.c')
-rw-r--r-- | signkey.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -351,19 +351,25 @@ void sign_key_free(sign_key *key) { key->rsakey = NULL; #endif #ifdef DROPBEAR_ECDSA +#ifdef DROPBEAR_ECC_256 if (key->ecckey256) { ecc_free(key->ecckey256); key->ecckey256 = NULL; } +#endif +#ifdef DROPBEAR_ECC_384 if (key->ecckey384) { ecc_free(key->ecckey384); key->ecckey384 = NULL; } +#endif +#ifdef DROPBEAR_ECC_521 if (key->ecckey521) { ecc_free(key->ecckey521); key->ecckey521 = NULL; } #endif +#endif m_free(key->filename); |