SilcClientConnection conn = silc_fsm_get_context(fsm);
SilcClient client = conn->client;
- if (conn->internal->aborted) {
- silc_fsm_next(fsm, silc_client_st_connect_error);
- SILC_FSM_CALL_CONTINUE(fsm);
- return;
- }
-
conn->internal->op = NULL;
if (conn->internal->verbose) {
switch (status) {
SilcClient client = conn->client;
VerifyKeyContext verify;
- if (conn->internal->aborted) {
- completion(ske, SILC_SKE_STATUS_UNSUPPORTED_PUBLIC_KEY,
- completion_context);
- silc_fsm_next(fsm, silc_client_st_connect_error);
- SILC_FSM_CALL_CONTINUE(fsm);
- return;
- }
-
/* If we provided repository for SKE and we got here the key was not
found from the repository. */
if (conn->internal->params.repository &&
SilcCipher send_key, receive_key;
SilcHmac hmac_send, hmac_receive;
- if (conn->internal->aborted) {
- silc_ske_free_rekey_material(rekey);
- silc_fsm_next(fsm, silc_client_st_connect_error);
- SILC_FSM_CALL_CONTINUE(fsm);
- return;
- }
-
conn->internal->op = NULL;
if (status != SILC_SKE_STATUS_OK) {
/* Key exchange failed */
SilcClientConnection conn = silc_fsm_get_context(fsm);
SilcClient client = conn->client;
- if (conn->internal->aborted) {
- silc_fsm_next(fsm, silc_client_st_connect_error);
- SILC_FSM_CALL_CONTINUE(fsm);
- return;
- }
-
conn->internal->op = NULL;
silc_connauth_free(connauth);