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

cleanup: Remove unused dependencies #4417

Merged
merged 3 commits into from
Feb 15, 2024
Merged

cleanup: Remove unused dependencies #4417

merged 3 commits into from
Feb 15, 2024

Conversation

maddeleine
Copy link
Contributor

Resolved issues:

Resolves #3236

Description of changes:

Removes two unused dependencies:

Testing:

I think if this passes CI we're good 🤔

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@maddeleine maddeleine requested a review from dougch as a code owner February 14, 2024 00:57
@github-actions github-actions bot added the s2n-core team label Feb 14, 2024
Copy link
Contributor

@dougch dougch left a comment

Choose a reason for hiding this comment

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

GnuTLS 3.7 is also what's we're using in the (slightly out of date) nix devShell as well.

@@ -99,18 +99,6 @@ if [[ "$TESTS" == "integrationv2" || "$TESTS" == "ALL" ]]; then
fi
fi

if [[ ! -x "$OPENSSL_0_9_8_INSTALL_DIR/bin/openssl" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Good riddance.

@lrstewart
Copy link
Contributor

I don't think that integ test exists in our current integ framework, however, I don't anticipate anyone spending the time to add that test back in ever.

We still support that feature, so why not? I think that's another miss of the integv2 migration, not a deliberate removal. Which means we should add that test back.

@maddeleine
Copy link
Contributor Author

maddeleine commented Feb 14, 2024

I don't think that integ test exists in our current integ framework, however, I don't anticipate anyone spending the time to add that test back in ever.

We still support that feature, so why not? I think that's another miss of the integv2 migration, not a deliberate removal. Which means we should add that test back.

We technically don't need Openssl 0.9.8 to send an SSLv2 client hello. Openssl 1.0.2 will send one, but we currently compile with the -no-ssl2 option. I'd rather change how we compile Openssl 1.0.2 and use that for the sslv2 test than use Openssl 0.9.8 to do this, but if you don't like that idea I can change this PR to only removing gnutls.

@maddeleine maddeleine requested a review from lrstewart February 14, 2024 19:33
Copy link
Contributor

@lrstewart lrstewart left a comment

Choose a reason for hiding this comment

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

We technically don't need Openssl 0.9.8 to send an SSLv2 client hello. Openssl 1.0.2 will send one, but we currently compile with the -no-ssl2 option. I'd rather change how we compile Openssl 1.0.2 and use that for the sslv2 test than use Openssl 0.9.8 to do this, but if you don't like that idea I can change this PR to only removing gnutls.

Nope, sounds reasonable. But can you open an issue for the lost sslv2 client hello test before it's forgotten again?

@maddeleine
Copy link
Contributor Author

Opened #4419 to track missing sslv2 test.

@maddeleine maddeleine merged commit ae94b81 into main Feb 15, 2024
34 checks passed
@maddeleine maddeleine deleted the dep_removal branch February 15, 2024 21:29
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.

Remove GnuTLS 3.5.5 from test dependencies
3 participants