From 6c6f986576db3d4db2b29e262668791eb78ef2c6 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Fri, 12 Aug 2016 16:09:38 +0800 Subject: [PATCH] Fix a typo --- src/server.c | 2 +- src/udprelay.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.c b/src/server.c index 0dd5d61b..77837072 100644 --- a/src/server.c +++ b/src/server.c @@ -610,7 +610,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents) * | 1 | Variable | 2 | 10 | * +------+----------+----------+----------------+ * - * If ATYP & ONETIMEAUTH_FLAG(0x10) == 1, Authentication (HMAC-SHA1) is enabled. + * If ATYP & ONETIMEAUTH_FLAG(0x10) != 0, Authentication (HMAC-SHA1) is enabled. * * The key of HMAC-SHA1 is (IV + KEY) and the input is the whole header. * The output of HMAC-SHA is truncated to 10 bytes (leftmost bits). diff --git a/src/udprelay.c b/src/udprelay.c index 62b1ff03..e253a787 100644 --- a/src/udprelay.c +++ b/src/udprelay.c @@ -911,7 +911,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents) * | 1 | Variable | 2 | Variable | 10 | * +------+----------+----------+----------+-------------+ * - * If ATYP & ONETIMEAUTH_FLAG(0x10) == 1, Authentication (HMAC-SHA1) is enabled. + * If ATYP & ONETIMEAUTH_FLAG(0x10) != 0, Authentication (HMAC-SHA1) is enabled. * * The key of HMAC-SHA1 is (IV + KEY) and the input is the whole packet. * The output of HMAC-SHA is truncated to 10 bytes (leftmost bits).