Kaydet (Commit) 4ee1d02b authored tarafından Joachim Lingner's avatar Joachim Lingner

jl153 #i112218# correctly displaying issuer/subject names when they use multi-value RDN

üst 46c6193e
...@@ -149,7 +149,7 @@ namespace XmlSec ...@@ -149,7 +149,7 @@ namespace XmlSec
*/ */
#ifdef WNT #ifdef WNT
vector< pair< OUString, OUString> > parseDN(const OUString& rRawString) vector< pair< OUString, OUString> > parseDN(const OUString& rRawString)
{ {
vector< pair<OUString, OUString> > retVal; vector< pair<OUString, OUString> > retVal;
bool bInEscape = false; bool bInEscape = false;
bool bInValue = false; bool bInValue = false;
...@@ -197,7 +197,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString) ...@@ -197,7 +197,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString)
bInEscape = false; bInEscape = false;
} }
} }
else if (c == ',') else if (c == ',' || c == '+')
{ {
//The comma separate the attribute value pairs. //The comma separate the attribute value pairs.
//If the comma is not part of a value (the value would then be enclosed in '"'), //If the comma is not part of a value (the value would then be enclosed in '"'),
...@@ -292,7 +292,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString) ...@@ -292,7 +292,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString)
bInEscape = false; bInEscape = false;
} }
} }
else if (c == ',') else if (c == ',' || c == '+')
{ {
//The comma separate the attribute value pairs. //The comma separate the attribute value pairs.
//If the comma is not part of a value (the value would then be enclosed in '"'), //If the comma is not part of a value (the value would then be enclosed in '"'),
......
...@@ -107,7 +107,7 @@ findTypeInDN(const OUString& rRawString, const OUString& sTypeName) ...@@ -107,7 +107,7 @@ findTypeInDN(const OUString& rRawString, const OUString& sTypeName)
bInEscape = false; bInEscape = false;
} }
} }
else if (c == ',') else if (c == ',' || c == '+')
{ {
//The comma separate the attribute value pairs. //The comma separate the attribute value pairs.
//If the comma is not part of a value (the value would then be enclosed in '"'), //If the comma is not part of a value (the value would then be enclosed in '"'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment