From a02fb0711ba496877c111b118b78d404151a8b8d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 26 Mar 2012 03:06:03 +0200 Subject: Initial implementation of the FHMQV-C handshake --- src/peer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/peer.c') diff --git a/src/peer.c b/src/peer.c index 282159a..19b8947 100644 --- a/src/peer.c +++ b/src/peer.c @@ -50,8 +50,8 @@ const fastd_eth_addr* fastd_get_dest_address(const fastd_context *ctx, fastd_buf } static inline void reset_peer(fastd_context *ctx, fastd_peer *peer) { - ctx->conf->protocol->free_peer_private(ctx, peer); - peer->protocol_private = NULL; + ctx->conf->protocol->free_peer_state(ctx, peer); + peer->protocol_state = NULL; int i, deleted = 0; for (i = 0; i < ctx->n_eth_addr; i++) { @@ -95,7 +95,7 @@ static fastd_peer* add_peer(fastd_context *ctx) { peer->next = ctx->peers; peer->last_req_id = 0; - peer->protocol_private = NULL; + peer->protocol_state = NULL; ctx->peers = peer; -- cgit v1.2.3