Skip to content

Commit

Permalink
Be compatible to the updated botan's behaviour related to reworked bo…
Browse files Browse the repository at this point in the history
…tan_cipher_update() function.
  • Loading branch information
ni4 committed May 28, 2024
1 parent e69b091 commit b85d93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/crypto/symmetric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ pgp_cipher_aead_update(pgp_crypt_t *crypt, uint8_t *out, const uint8_t *in, size
}

if ((outwr != len) || (inread != len)) {
RNP_LOG("wrong aead usage");
RNP_LOG("wrong aead usage: %zu vs %zu, %zu vs %zu", outwr, len, inread, len);

Check warning on line 296 in src/lib/crypto/symmetric.cpp

View check run for this annotation

Codecov / codecov/patch

src/lib/crypto/symmetric.cpp#L296

Added line #L296 was not covered by tests
return false;
}

Expand Down

0 comments on commit b85d93c

Please sign in to comment.