Browse Source

Update aead.c

pull/2953/head
starter48 2 years ago
committed by GitHub
parent
commit
6f2e821b9f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      src/aead.c

2
src/aead.c

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

Loading…
Cancel
Save