Skip to content

Add sslversion_max flags#114

Merged
ygrek merged 2 commits intoygrek:masterfrom
lukepalmer:ssl-max-flags
Sep 23, 2025
Merged

Add sslversion_max flags#114
ygrek merged 2 commits intoygrek:masterfrom
lukepalmer:ssl-max-flags

Conversation

@lukepalmer
Copy link
Copy Markdown
Contributor

This is a straightforward plumbing addition for CURL_SSLVERSION_MAX_* flags.

case 8: v = CURL_SSLVERSION_MAX_TLSv1_0; break;
case 9: v = CURL_SSLVERSION_MAX_TLSv1_1; break;
case 10: v = CURL_SSLVERSION_MAX_TLSv1_2; break;
case 11: v = CURL_SSLVERSION_MAX_TLSv1_3; break;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

How is this supposed to work if compiling against an old libcurl version that does not have these symbols?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

My apologies! Fixed.

Copy link
Copy Markdown
Collaborator

@nojb nojb left a comment

Choose a reason for hiding this comment

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

LGTM

@ygrek
Copy link
Copy Markdown
Owner

ygrek commented Sep 23, 2025

thanks

@ygrek ygrek merged commit bd8f820 into ygrek:master Sep 23, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants