Skip to content

Commit b36d7dd

Browse files
committed
fix duplicate serial num check
1 parent 9597ab8 commit b36d7dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

digicert-certcentral-caplugin/CertCentralCAPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ private List<StatusOrder> GetAllCertsForOrder(int orderId)
14911491
// instead just retrieves multiple copies of the primary certificate on that order. Since the gateway database must have unique certificates
14921492
// (serial number column is unique), we work around this by only syncing the primary cert in these cases. Other orders that correctly retrieve the
14931493
// reissued/duplicate certificates will pass this check.
1494-
if (!serNums.Contains(req))
1494+
if (!serNums.Contains(cert.serialNum))
14951495
{
14961496
reqIds.Add(req);
14971497
retCerts.Add(cert);

0 commit comments

Comments
 (0)