mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-11 13:03:54 +00:00
Update aead.c
This commit is contained in:
+1
-1
@@ -596,7 +596,7 @@ aead_chunk_decrypt(cipher_ctx_t *ctx, uint8_t *p, uint8_t *c, uint8_t *n,
|
||||
return CRYPTO_ERROR;
|
||||
assert(*plen == CHUNK_SIZE_LEN);
|
||||
|
||||
mlen = load16_be(len_buf);
|
||||
mlen = ntohs(*(uint16_t*)len_buf);
|
||||
mlen = mlen & CHUNK_SIZE_MASK;
|
||||
|
||||
if (mlen == 0)
|
||||
|
||||
Reference in New Issue
Block a user