1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Fix parsing of special chars in X509 DN values

Use escape mechanism defined in RFC 1779 when parsing commas and other
special characters in X509 DN values. Resolves failures when generating
a certificate with a CSR containing a comma in subject value.
Fixes #769.

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis
2022-05-20 12:48:46 +01:00
committed by Werner Lewis
parent 07040bb179
commit b33dacdb50
7 changed files with 69 additions and 9 deletions

View File

@@ -0,0 +1,3 @@
Bugfix
* Fix string representation of DNs when parsing values containing commas,
conforming to RFC 1779. Fixes #769.