Skip to content

Threading Fix#608

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:thread-fix
Oct 23, 2023
Merged

Threading Fix#608
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:thread-fix

Conversation

@ejohnstown
Copy link
Copy Markdown
Contributor

@ejohnstown ejohnstown commented Oct 20, 2023

  1. The wolfSSL version number to check for the old threading code was v5.5.2, not v5.5.1.
  2. A new wrapper was introduced around return for threading in what will be wolfSSL v5.6.4. Added that wrapper if it didn't exist.
  3. Some other types for threading are added in v5.6.4, wolfSSH needs to use the old threading model if using wolfSSL v5.6.3.

Testing configuration:

./configure && make

Built wolfSSH against wolfSSL v5.5.0, v5.5.1, v5.6.3, and a modified version of the master branch with the version changed to v5.6.4.

Comment thread wolfssh/test.h
julek-wolfssl
julek-wolfssl previously approved these changes Oct 23, 2023
1. The wolfSSL version number to check for the old threading code was
   v5.5.2, not v5.5.1.
2. A new wrapper was introduced around return for threading in what will
   be wolfSSL v5.6.4. Added that wrapper if it didn't exist.
3. Some other types for threading are added in v5.6.4, wolfSSH needs to
   use the old threading model if using wolfSSL v5.6.3.
@JacobBarthelmeh JacobBarthelmeh merged commit 173dfd9 into wolfSSL:master Oct 23, 2023
@ejohnstown ejohnstown deleted the thread-fix branch October 23, 2023 17:23
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.

4 participants