Skip to content

Commit 64c1450

Browse files
Port test changes
1 parent aef7a02 commit 64c1450

File tree

2 files changed

+1326
-4
lines changed

2 files changed

+1326
-4
lines changed

src/Certify.Models/Config/ManagedCertificate.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ public Lifetime? CertificateLifetime
317317
{
318318
get
319319
{
320-
if (DateStart.HasValue && DateExpiry.HasValue)
320+
if (DateExpiry.HasValue)
321321
{
322-
return new Lifetime(DateStart.Value, DateExpiry.Value);
322+
return new Lifetime(DateStart ?? DateExpiry.Value, DateExpiry.Value);
323323
}
324324
else
325325
{

0 commit comments

Comments
 (0)