Skip to content

openssl: drop obsolete SSLv2 logic - #20945

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:osslv2
Closed

openssl: drop obsolete SSLv2 logic#20945
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:osslv2

Conversation

@vszakats

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes legacy SSLv2-specific message/version decoding paths from the OpenSSL TLS backend’s debug/trace helpers, aligning the code with modern OpenSSL/LibreSSL capabilities and reducing obsolete compatibility branches.

Changes:

  • Dropped SSLv2 handshake message name mapping from ssl_msg_type().
  • Dropped SSLv2 version-string handling from ossl_trace().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@vszakats

Copy link
Copy Markdown
Member Author

augment review

@augmentcode

augmentcode Bot commented Mar 17, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Removes legacy SSLv2 message/version decoding from the OpenSSL trace helpers in curl’s OpenSSL backend.

Why: SSLv2 is obsolete (and removed from modern OpenSSL/LibreSSL), so keeping the conditional SSLv2 code paths is unnecessary maintenance overhead.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@vszakats vszakats changed the title openssl: drop obsolete SSLv2 code openssl: drop obsolete SSLv2 logic Mar 17, 2026
@vszakats vszakats closed this in 3e74a3e Mar 17, 2026
@vszakats
vszakats deleted the osslv2 branch March 17, 2026 13:37
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants