-/* $OpenBSD: roaming_client.c,v 1.2 2010/01/09 05:17:00 dtucker Exp $ */
+/* $OpenBSD: roaming_client.c,v 1.3 2010/01/18 01:50:27 dtucker Exp $ */
/*
* Copyright (c) 2004-2009 AppGate Network Security AB
*
#include "includes.h"
-#include <sys/queue.h>
+#include "openbsd-compat/sys-queue.h"
#include <sys/types.h>
#include <sys/socket.h>
calculate_new_key(&key1, cookie, chall);
calculate_new_key(&key2, cookie, chall);
- debug("Received %llu bytes", (long long unsigned)get_recv_bytes());
+ debug("Received %llu bytes", (unsigned long long)get_recv_bytes());
debug("Sent roaming_auth packet");
}
goto fail;
}
recv_bytes = packet_get_int64() ^ oldkey2;
- debug("Peer received %llu bytes", (long long unsigned)recv_bytes);
+ debug("Peer received %llu bytes", (unsigned long long)recv_bytes);
resend_bytes(packet_get_connection_out(), &recv_bytes);
resume_in_progress = 0;