X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcske%2Fsilcske.c;h=33ec0cdf5822ec5ba4fb7cd6cfc80a0a11c26bee;hb=c1c904ec2af21f1c2b272d790b38d93824af5352;hp=0a321b9eb3a3857fa98d0f7bcdd26730f47183a5;hpb=db5f308b9a3897c74514ad5b366fb43dfec52a7c;p=silc.git diff --git a/lib/silcske/silcske.c b/lib/silcske/silcske.c index 0a321b9e..33ec0cdf 100644 --- a/lib/silcske/silcske.c +++ b/lib/silcske/silcske.c @@ -111,7 +111,7 @@ static SilcBool silc_ske_packet_receive(SilcPacketEngine engine, } /* Handle rekey and SUCCESS packets synchronously. After SUCCESS packets - they keys are taken into use immediately, hence the synchronous + they keys are taken into use immediately, hence the synchronous processing to get the keys in use as soon as possible. */ if (ske->rekeying || packet->type == SILC_PACKET_SUCCESS) silc_fsm_continue_sync(&ske->fsm); @@ -1085,6 +1085,8 @@ void silc_ske_free(SilcSKE ske) silc_hash_free(ske->prop->hash); if (ske->prop->hmac) silc_hmac_free(ske->prop->hmac); + if (ske->prop->public_key) + silc_pkcs_public_key_free(ske->prop->public_key); silc_free(ske->prop); } if (ske->keymat)