mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-23 08:03:54 +00:00
Refine assertion
This commit is contained in:
+1
-1
@@ -477,7 +477,7 @@ aead_chunk_encrypt(cipher_ctx_t *ctx, uint8_t *p, uint8_t *c,
|
||||
size_t nlen = ctx->cipher->nonce_len;
|
||||
size_t tlen = ctx->cipher->tag_len;
|
||||
|
||||
assert(plen + tlen < CHUNK_SIZE_MASK);
|
||||
assert(plen <= CHUNK_SIZE_MASK);
|
||||
|
||||
int err;
|
||||
size_t clen;
|
||||
|
||||
Reference in New Issue
Block a user