Merge pull request #4568 from creiter32/to_upstream/csr_critical_extensions

Expose flag for critical extensions
This commit is contained in:
Manuel Pégourié-Gonnard 2021-05-31 12:46:59 +02:00 committed by GitHub
commit 6d84e917bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 3 deletions

View file

@ -0,0 +1,9 @@
Change the API to allow adding critical extensions to CSRs
------------------------------------------------------------------
This affects applications that call the `mbedtls_x509write_csr_set_extension`
function.
The API is changed to include the parameter `critical` which allow to mark an
extension included in a CSR as critical. To get the previous behaviour pass
`0`.