diff options
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx index 4997a482728e..e1526ea90d54 100644 --- a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx @@ -543,8 +543,7 @@ static OUString CompatDNCryptoAPI(std::u16string_view rDN) { if (rDN.size() != i+1 && rDN[i+1] == '"') { - buf.append('\\'); - buf.append(rDN[i+1]); + buf.append(OUString::Concat("\\") + OUStringChar(rDN[i+1])); ++i; } else |