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

add update for socat 1.8.0.0 #177

Merged
merged 4 commits into from
Jun 13, 2024
Merged

Conversation

JacobBarthelmeh
Copy link
Contributor

socat/1.8.0.0/socat-1.8.0.0.patch Show resolved Hide resolved
Comment on lines 1822 to 1826
+ #if defined(WITH_WOLFSSL) && defined(WOLFSSL_TLS13)
+ /* Can't use sycSSLv23_client_method because wolfSSL will default to
+ * TLS 1.3, which doesn't work with socat." */
+ method = sycTLSv1_2_client_method();
+ #else
Copy link
Member

Choose a reason for hiding this comment

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

sycSSLv23_client_method allows downgrading. It would be better to use sycSSLv23_client_method and then set the max proto later once the ctx is created.

Copy link
Member

@julek-wolfssl julek-wolfssl left a comment

Choose a reason for hiding this comment

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

Tiny nitpicks. If you used a command to change all the AC_DEFINE, please include it as a dev note. It will make future porting easier as configure.ac will probably need to be updated manually.

Comment on lines 1821 to 1822
- method = sycSSLv23_client_method();
+ method = sycSSLv23_client_method();
Copy link
Member

Choose a reason for hiding this comment

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

Please remove from the patch.

Comment on lines 1842 to 1843
- method = sycSSLv23_server_method();
+ method = sycSSLv23_server_method();
Copy link
Member

Choose a reason for hiding this comment

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

Also not necessary.

@julek-wolfssl julek-wolfssl merged commit d9bedc0 into wolfSSL:master Jun 13, 2024
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.

None yet

2 participants