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 GetPublicKey transport IO method to access TLS public key. #9719

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

llyzs
Copy link
Member

@llyzs llyzs commented Jan 2, 2024

The original NLA module access the TLS public key directly through the internal rdpTls structure, which is not available if a custom client implements its own transport IO layer (rdpTransportIo). In order for a custom transport layer implementation works with core NLA after TLS connection is established (TLSConnect), the NLA module needs to retrieve the public key through a transport IO function instead of using internal structure.

This patch adds such method in rdpTransportIo while also moves the original codes into a default implementation.

@freerdp-bot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://ci.freerdp.com//job/PullRequestTester/11123/

@freerdp-bot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://ci.freerdp.com//job/PullRequestTester/11124/

@akallabeth akallabeth added this to the next-3.0 milestone Jan 2, 2024
Copy link
Member

@akallabeth akallabeth left a comment

Choose a reason for hiding this comment

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

LGTM

@mfleisz mfleisz merged commit 33447dc into FreeRDP:master Jan 3, 2024
3 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.

None yet

4 participants