Skip to content

Commit

Permalink
[fix][doc] Fix typos in doc for MessageCryptoBc class (apache#21403)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanmz authored Dec 8, 2023
1 parent 6e18874 commit fd0dd65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ private boolean getKeyAndDecryptData(MessageMetadata msgMetadata, ByteBuffer pay
if (storedSecretKey != null) {

// Taking a small performance hit here if the hash collides. When it
// retruns a different key, decryption fails. At this point, we would
// returns a different key, decryption fails. At this point, we would
// call decryptDataKey to refresh the cache and come here again to decrypt.
if (decryptData(storedSecretKey, msgMetadata, payload, targetBuffer)) {
// If decryption succeeded, we can already return
Expand Down

0 comments on commit fd0dd65

Please # to comment.