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_csr #5020

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

Add public getter APIs for mbedtls_x509_csr #5020

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

Accessed fields:

  • subject
  • pk
  • version

Affected files:

  • x509/cert_write.c
@gilles-peskine-arm
Copy link
Contributor

#4842 made those fields public.

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