Skip to content

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

Merged
normanmaurer merged 1 commit into4.1from
check_hostname_validation_supported
Sep 28, 2018
Merged

Check if hostname validation is supported before trying to use in test.#8333
normanmaurer merged 1 commit into4.1from
check_hostname_validation_supported

Conversation

@normanmaurer
Copy link
Copy Markdown
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
Copy Markdown
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