updates.
[silc.git] / apps / silcd / server.c
index c2dd90f453139ed9dc1cac2b3ac3621441781b40..12769c445fc26f1e08fe82deb7e8dfb45bb51654 100644 (file)
@@ -3688,8 +3688,6 @@ SILC_TASK_CALLBACK_GLOBAL(silc_server_rekey_final)
     silc_protocol_cancel(server->timeout_queue, protocol);
     silc_protocol_free(protocol);
     sock->protocol = NULL;
-    if (ctx->keymat)
-      silc_ske_free_key_material(ctx->keymat);
     if (ctx->packet)
       silc_packet_context_free(ctx->packet);
     if (ctx->ske)
@@ -3707,8 +3705,6 @@ SILC_TASK_CALLBACK_GLOBAL(silc_server_rekey_final)
   /* Cleanup */
   silc_protocol_free(protocol);
   sock->protocol = NULL;
-  if (ctx->keymat)
-    silc_ske_free_key_material(ctx->keymat);
   if (ctx->packet)
     silc_packet_context_free(ctx->packet);
   if (ctx->ske)