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

Make the fileds of mbedtls_net_context public #5021

Closed
gabor-mezei-arm opened this issue Oct 5, 2021 · 1 comment
Closed

Make the fileds of mbedtls_net_context public #5021

gabor-mezei-arm opened this issue Oct 5, 2021 · 1 comment

Comments

@gabor-mezei-arm
Copy link
Contributor

As part of #4683, as a result of reviewing the programs there are uses of MBEDTLS_PRIVATE fields of the mbedtls_net_context structure. To avoid the access of the private fields make the fields of mbedtls_net_context public.

Accessed fields:

  • fd

Affected files:

  • ssl/mini_client.c
@gilles-peskine-arm
Copy link
Contributor

#4842 made this field public (with a documented stipulation that this is only guaranteed on Unix/POSIX platforms).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants