Skip to content

openssl: drop obsolete SSLv2 logic#20945

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:osslv2
Closed

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

Conversation

@vszakats
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

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

augmentcode bot commented Mar 17, 2026

🤖 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 👎

Copy link
Copy Markdown

@augmentcode augmentcode bot left a comment

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
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