Skip to content

Check if hostname validation is supported before trying to use in test. #8333

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

Merged
merged 1 commit into from
Sep 28, 2018

Conversation

normanmaurer
Copy link
Member

Motivation:

a208f6d added a testcase which uses hostname validation which may not be supported by OpenSSL depending on the version that is used. We should check first before we try to use it.

Modifications:

Add assumeTrue(...) check to ensure hostname validation is supported before trying to run the test.

Result:

No more test-failures on OpenSSL versions < 1.0.2.

Motivation:

a208f6d added a testcase which uses hostname validation which may not be supported by OpenSSL depending on the version that is used. We should check first before we try to use it.

Modifications:

Add assumeTrue(...) check to ensure hostname validation is supported before trying to run the test.

Result:

No more test-failures on OpenSSL versions < 1.0.2.
@normanmaurer
Copy link
Member Author

I will merge this once it passes to make the CI happy again

@normanmaurer normanmaurer self-assigned this Sep 28, 2018
@normanmaurer normanmaurer added this to the 4.1.31.Final milestone Sep 28, 2018
@normanmaurer normanmaurer merged commit 73acac1 into 4.1 Sep 28, 2018
@normanmaurer normanmaurer deleted the check_hostname_validation_supported branch September 28, 2018 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant