Skip to content

Conversation

@miyazakh
Copy link
Contributor

@miyazakh miyazakh commented Sep 16, 2025

Disable server functions into Client only:
wh_TransportMem_SendRequest
wh_TransportMem_RecvResponse

Disable client functions into Server only:
wh_TransportMem_SendResponse
wh_TransportMem_RecvRequest

Issue#128

@miyazakh miyazakh assigned miyazakh and wolfSSL-Bot and unassigned miyazakh Sep 16, 2025
Copy link
Contributor

@bigbrett bigbrett left a comment

Choose a reason for hiding this comment

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

Hi @miyazakh,

I believe you have the macro protection wrong. The client functions are "SendRequest" and "RecvResponse", and the Server functions are "RecvRequest" and "SendResponse". Look at how the callbacks are bound to send/recv.

Copy link
Contributor

@bigbrett bigbrett left a comment

Choose a reason for hiding this comment

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

I just realized that the client/server init functions in the POSIX shm transport are not protected by `WOLFHSM_. However that file is being actively modified by @JacobBarthelmeh in #158. I'll leave that additional fix to him.

@bigbrett bigbrett merged commit 5d842c7 into wolfSSL:main Sep 22, 2025
6 checks passed
@miyazakh miyazakh deleted the issue_128 branch September 23, 2025 13:40
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