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 public getter APIs for mbedtls_x509_crt #5019

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

Add public getter APIs for mbedtls_x509_crt #5019

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_x509_crt structure. To avoid the access of the private fields create and use new public getter APIs for the fields of the mbedtls_x509_crt structure.

Accessed fields:

  • next
  • issuer
  • subject
  • pk

Affected files:

  • ssl/dtls_server.c
  • ssl/ssl_fork_server.c
  • ssl/ssl_server.c
  • ssl/ssl_server2.c
  • ssl/ssl_test_lib.c
  • x509/cert_write.c
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

1 participant