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

[TEST] Added check for read-ready for decryption failure case #2609

Merged

Conversation

ethouris
Copy link
Collaborator

Related to #2503 although this problem was not confirmed in the latest version.

This adds the check if in the non-blocking mode the read-ready epoll flag has NOT been set in case of decryption failure.

Decryption failure is expected with both sides set "relaxed encryption", both have different password settings, and the sender is set a passphrase. In all other cases this should either result in rejected connection or successful reception, and these latter cases read-readiness should be expected (this is checked though through an attempt for reading).

test/test_enforced_encryption.cpp Outdated Show resolved Hide resolved
test/test_enforced_encryption.cpp Outdated Show resolved Hide resolved
test/test_enforced_encryption.cpp Outdated Show resolved Hide resolved
test/test_enforced_encryption.cpp Outdated Show resolved Hide resolved
Co-authored-by: Maxim Sharabayko <maxlovic@gmail.com>
@maxsharabayko maxsharabayko added this to the v1.5.2 milestone Feb 8, 2023
@maxsharabayko maxsharabayko added Type: Maintenance Work required to maintain or clean up the code [tests] Area: Unit tests labels Feb 8, 2023
@maxsharabayko maxsharabayko merged commit 715da9d into Haivision:master Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[tests] Area: Unit tests Type: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants