mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-29 20:43:44 +00:00
Fix a typo
This commit is contained in:
+1
-1
@@ -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).
|
||||
|
||||
+1
-1
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user