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

ssl: Get dhfile ssl option #7984

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

avtobiff
Copy link
Contributor

The fallback after "dh" ssl option was undefined was to get "dh" from
ssl options again. This is clearly wrong and now changed to the
documented fallback "dhfile" ssl option.

Add test for passing an invalid dhparams file to server ssl options.

@avtobiff avtobiff changed the base branch from master to maint December 28, 2023 19:29
Copy link
Contributor

github-actions bot commented Dec 28, 2023

CT Test Results

    2 files     66 suites   47m 29s ⏱️
  774 tests   741 ✅  33 💤 0 ❌
3 673 runs  2 929 ✅ 744 💤 0 ❌

Results for commit 4727af1.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@IngelaAndin IngelaAndin added testing currently being tested, tag is used by OTP internal CI team:PS Assigned to OTP team PS labels Jan 4, 2024
@IngelaAndin IngelaAndin self-assigned this Jan 4, 2024
@IngelaAndin
Copy link
Contributor

@avtobiff You need to also list the test case in "the test case listing". The test function listing in simple_api_tests/0 would be a good place for this test suite.

The fallback after "dh" ssl option was undefined was to get "dh" from
ssl options again. This is clearly wrong and now changed to the
documented fallback "dhfile" ssl option.

Add test for passing an invalid dhparams file to server ssl options.

Signed-off-by: Per Andersson <avtobiff@foo.nu>
@avtobiff
Copy link
Contributor Author

avtobiff commented Jan 8, 2024

@IngelaAndin Added it to simple_api_tests/0 as you suggested.

@IngelaAndin IngelaAndin added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Jan 8, 2024
@IngelaAndin
Copy link
Contributor

@avtobiff Great then the test case will actually be run now. Need to wait for the test to be run in our builds before we can merge.

@IngelaAndin IngelaAndin merged commit e6d073f into erlang:maint Jan 10, 2024
16 checks passed
@IngelaAndin
Copy link
Contributor

Thanks for the PR

@avtobiff avtobiff deleted the ssl/invalid-dhfile branch January 10, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants