oxen-io / libsession-util

Session utilities library
GNU General Public License v3.0
15 stars 16 forks source link

Fix plaintext size calculation #53

Closed jagerman closed 1 year ago

jagerman commented 1 year ago

ciphertext has already been reduced by 1 + crypto_aead_xchacha20poly1305_ietf_NPUBBYTES at this point, but that wasn't being accounted for in the size calculations.

(Thanks to @ftrget for finding this one!)

venezuela01 commented 1 year ago

typo, should be @frtget instead.