commit 450370aa2e1a5950a93c423c38002ee40cd1a645
parent af2fa10bc798c87d367044f95345cee8378b1a64
Author: sin <sin@2f30.org>
Date: Tue, 29 Mar 2016 11:43:03 +0100
remove unnecessary comments
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/stun.c b/stun.c
@@ -663,14 +663,12 @@ serversetup(int devfd)
inet_ntoa(remote.sin_addr));
aesinit(&enc, &dec);
- /* challenge client */
ret = challenge(netfd);
if (ret < 0) {
logwarn("server -> client challenge failed");
goto err;
}
- /* respond to client's challenge */
ret = response(netfd);
if (ret < 0) {
logwarn("server -> client response failed");
@@ -719,14 +717,12 @@ clientsetup(int devfd)
}
aesinit(&enc, &dec);
- /* respond to server's challenge */
ret = response(netfd);
if (ret < 0) {
logwarn("client -> server response failed");
goto err;
}
- /* challenge server */
ret = challenge(netfd);
if (ret < 0) {
logwarn("client -> server challenge failed");