Skip to content

Fix problem when crypto_aead detached passed null#39

Open
christianbundy wants to merge 1 commit intosodium-friends:masterfrom
christianbundy:crypto-aead-detached
Open

Fix problem when crypto_aead detached passed null#39
christianbundy wants to merge 1 commit intosodium-friends:masterfrom
christianbundy:crypto-aead-detached

Conversation

@christianbundy
Copy link
Contributor

Problem: In two cases the if (ad === null) conditions are meant to
call a _detached method but accidentally call the non-detached
counterpart.

Solution: Call the corresponding function so that detached methods
always call detached encryption or decryption.

See-also: #35

Problem: In two cases the `if (ad === null)` conditions are meant to
call a `_detached` method but accidentally call the non-detached
counterpart.

Solution: Call the corresponding function so that detached methods
always call detached encryption or decryption.

See-also: sodium-friends#35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant