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

2.28 compat.sh: Restore testing against OpenSSL for pre 1.2 TLS versions #6654

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

ronald-cron-arm
Copy link
Contributor

@ronald-cron-arm ronald-cron-arm commented Nov 24, 2022

Description

Fix #6650

I've done some checks of the number of tests: full configuration + OpenSSL 1.0.2g.

./tests/compat.sh -p OpenSSL -m "ssl3 tls1 tls1_1 dtls1":
. mbedtls-2.28 + this PR: 232 tests 2 skipped
. mbedtls-2.28.0: 232 test 2 skipped

./tests/compat.sh
. mbedtls-2.28 + this PR: 1984 tests 4 skipped
. mbedtls-2.28.0: 856 tests 2 skipped
Much more tests now because of #5660 I think.

Gatekeeper checklist

  • changelog not required
  • backport not required
  • tests not required

Sorry, something went wrong.

Restore compatibiltiy testing against OpenSSL for
(D)TLS versions smaller that 1.2.

. Fix the check for support in OpenSSL for these versions
. For test cases for (D)TLS version smaller than 1.2,
  restore the configuration of OpenSSL client/server
  with the given TLS version, as it was before Mbed-TLS#5660
  that broke it.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
@ronald-cron-arm ronald-cron-arm changed the title compat.sh: Restore testing against OpenSSL for pre 1.2 TLS versions 2.28 compat.sh: Restore testing against OpenSSL for pre 1.2 TLS versions Nov 24, 2022
@ronald-cron-arm ronald-cron-arm added bug component-tls needs-ci Needs to pass CI tests priority-high High priority - will be reviewed soon labels Nov 24, 2022
@ronald-cron-arm ronald-cron-arm added needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review and removed needs-ci Needs to pass CI tests labels Nov 24, 2022
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this. Glad the tests are passing!

Copy link
Contributor

@mpg mpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpg mpg added approved Design and code approved - may be waiting for CI or backports and removed needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review labels Nov 25, 2022
@mpg mpg merged commit 7f15da6 into Mbed-TLS:mbedtls-2.28 Nov 25, 2022
@ronald-cron-arm ronald-cron-arm deleted the compat-fix branch July 21, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Design and code approved - may be waiting for CI or backports bug component-tls priority-high High priority - will be reviewed soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants