Browse Source

Refine assertion

pull/1342/head
Max Lv 7 years ago
parent
commit
a4bebe3ee9
1 changed files with 1 additions and 1 deletions
  1. 2
      src/aead.c

2
src/aead.c

@ -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;

Loading…
Cancel
Save