Skip to content

Commit

Permalink
fix: use correct constants for enterpriseca flags
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBK committed Nov 29, 2023
1 parent ed7b391 commit 72721c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommonLib/Processors/LDAPPropertyProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public static Dictionary<string, object> ReadAIACAProperties(ISearchResultEntry
public static Dictionary<string, object> ReadEnterpriseCAProperties(ISearchResultEntry entry)
{
var props = GetCommonProps(entry);
if (entry.GetIntProperty("flags", out var flags)) props.Add("flags", (PKIEnrollmentFlag)flags);
if (entry.GetIntProperty("flags", out var flags)) props.Add("flags", (PKICertificateAuthorityFlags)flags);
props.Add("caname", entry.GetProperty(LDAPProperties.Name));
props.Add("dnshostname", entry.GetProperty(LDAPProperties.DNSHostName));

Expand Down

0 comments on commit 72721c2

Please sign in to comment.