Commit b8cc0668 authored by Sietse Ringers's avatar Sietse Ringers

fix: don't include revocation attribute in CredentialInfoList

parent fa046bb5
......@@ -101,6 +101,9 @@ func (al *AttributeList) Map(conf *Configuration) map[AttributeTypeIdentifier]Tr
ctid := al.CredentialType().Identifier()
attrTypes := conf.CredentialTypes[ctid].AttributeTypes
for i, val := range al.Strings() {
if attrTypes[i].RevocationAttribute {
continue
}
al.attrMap[attrTypes[i].GetAttributeTypeIdentifier()] = val
}
}
......
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