Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2001 - 2006 Pekka Riikonen
+ Copyright (C) 2001 - 2007 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
static void silc_client_keyagr_verify_key_cb(SilcBool success, void *context)
{
- VerifyKeyContext verify = context;
+ SilcVerifyKeyContext verify = context;
/* Call the completion callback back to the SKE */
verify->completion(verify->ske, success ? SILC_SKE_STATUS_OK :
SilcClientKeyAgreement ke = client_entry->internal.ke;
SilcClientConnection conn = ke->conn;
SilcClient client = conn->client;
- VerifyKeyContext verify;
+ SilcVerifyKeyContext verify;
/* If we provided repository for SKE and we got here the key was not
found from the repository. */
silc_client_keyagr_free(client, conn, client_entry);
}
-/* Starts key agreement as responder. */
+/* Starts key agreement as responder. */
static void silc_client_process_key_agreement(SilcClient client,
SilcClientConnection conn,
port = params->local_port;
if (!port) {
/* Get listener port */
- int sock;
+ SilcSocket sock;
silc_socket_stream_get_info(stream, &sock, NULL, NULL, NULL);
port = silc_net_get_local_port(sock);
}