Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restored old behavior when parties declare encryption differently. #175

Merged
merged 3 commits into from
Nov 28, 2017

Conversation

ethouris
Copy link
Collaborator

The so far behavior with HSv5 was such that if parties declare encryption differently (which is the same with wrong password, as well as only one side declares encryption), the connection was rejected.

This fix makes the connection accepted also under this condition, and additionally the side that declares no encryption is still capable of sending the - unencrypted, obviously - data. Sending the data is also accepted, if a party declares encryption, and its peer does not or sets wrong password, just the receiver is unable to retrieve anything.

@rndi rndi merged commit 7c8873c into Haivision:dev Nov 28, 2017
@ethouris ethouris deleted the dev-fix-unencrypted-rejection branch April 16, 2018 15:48
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.

2 participants