Skip to content

Commit da527de

Browse files
leefine02leefine02
authored andcommitted
1 parent beb93bb commit da527de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RemoteFile/InventoryBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public JobResult ProcessJob(InventoryJobConfiguration config, SubmitInventoryUpd
4848
logger.LogDebug($"Format returned certificates BEGIN");
4949
foreach (X509CertificateEntryCollection entry in collection)
5050
{
51-
if (entry.CertificateChain?.Count > 1)
51+
if (collection.Count == 0)
5252
continue;
5353

5454
X509CertificateEntry issuedCertificate = entry.CertificateChain[0];

0 commit comments

Comments
 (0)