* Changed the PKCS api to return the public key length when
setting the public key.
- * Send heartbeat packet immediately, not through packet queue.
- Affected file silcd/packet_send.c.
-
* Fixed a fatal bug in the public and private key file loading.
Affected file lib/silccrypt/silcpkcs.c.
snprintf(filename, sizeof(filename) - 1, "%s/.silc/%skeys/%s",
pw->pw_dir, entity, file);
- /* Check wheter this key already exists */
+ /* Check whether this key already exists */
if (stat(filename, &st) < 0) {
fingerprint = silc_hash_fingerprint(NULL, pk, pk_len);
/* Send the REKEY_DONE to indicate we will take new keys into use */
silc_server_packet_send(server, ctx->sock, SILC_PACKET_REKEY_DONE,
- 0, NULL, 0, TRUE);
+ 0, NULL, 0, FALSE);
/* The protocol ends in next stage. */
protocol->state = SILC_PROTOCOL_STATE_END;
/* Send the REKEY_DONE to indicate we will take new keys into use
now. */
silc_server_packet_send(server, ctx->sock, SILC_PACKET_REKEY_DONE,
- 0, NULL, 0, TRUE);
+ 0, NULL, 0, FALSE);
/* The protocol ends in next stage. */
protocol->state = SILC_PROTOCOL_STATE_END;
/* Send the REKEY_DONE to indicate we will take new keys into use
now. */
silc_server_packet_send(server, ctx->sock, SILC_PACKET_REKEY_DONE,
- 0, NULL, 0, TRUE);
+ 0, NULL, 0, FALSE);
}
}
/* Send the REKEY_DONE to indicate we will take new keys into use */
silc_client_packet_send(client, ctx->sock,
SILC_PACKET_REKEY_DONE,
- NULL, 0, NULL, NULL, NULL, 0, TRUE);
+ NULL, 0, NULL, NULL, NULL, 0, FALSE);
/* The protocol ends in next stage. */
protocol->state = SILC_PROTOCOL_STATE_END;
/* Send the REKEY_DONE to indicate we will take new keys into use
now. */
silc_client_packet_send(client, ctx->sock, SILC_PACKET_REKEY_DONE,
- NULL, 0, NULL, NULL, NULL, 0, TRUE);
+ NULL, 0, NULL, NULL, NULL, 0, FALSE);
/* The protocol ends in next stage. */
protocol->state = SILC_PROTOCOL_STATE_END;
now. */
silc_client_packet_send(client, ctx->sock,
SILC_PACKET_REKEY_DONE,
- NULL, 0, NULL, NULL, NULL, 0, TRUE);
+ NULL, 0, NULL, NULL, NULL, 0, FALSE);
}
}