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

Fix CSR creation using mbedTLS #2913

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

pan-apple
Copy link
Contributor

Problem

Incorrect length for CSR generated using mbedTLS library

Summary of Changes

The return value for mbedtls_x509write_csr_pem was being used to set the length, whereas this is 0, or error code.

fixes #2910

@bzbarsky-apple bzbarsky-apple merged commit 6da84c4 into project-chip:master Sep 29, 2020
@pan-apple pan-apple deleted the issue2910 branch September 29, 2020 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mbedTLS NewCertificateSigningRequest fills wrong CSR length
4 participants