GnuTLS handling of escape characters

Description of problem:

Hello Developer: I have a CRL file, and the "O" field in its issuer section contains an escape character. The value of the "O" field is 'VeriSign\'. When I use GnuTLS to parse this CRL file, GnuTLS interprets the "O" field as 'VeriSign\\'. However, when I open the CRL file as a .crl file, the "O" field in the issuer section shows as 'VeriSign\'. Therefore, I suspect that the handling of the escape character '\\' by GnuTLS may not be entirely reasonable.

Version of gnutls used:

GnuTLS 3.8.9

Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

Ubuntu

How reproducible:

certtool --crl-info --inder --infile crl_file_.der

Actual results:

The issuer field is parsed as Issuer: OU=Class 3 Public Primary Certification Authority,CN=test,O=VeriSign\\,L=test,ST=test,C=US.

Expected results:

crl_file_.dercrl_file_.crl

Edited by One happy person