From 135a4decf1509055649065e523598e05fcd193f2 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 6 Aug 2017 10:49:03 -0500 Subject: [PATCH] Tests/X509: add setEndDate --- tests/Unit/File/X509/X509Test.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Unit/File/X509/X509Test.php b/tests/Unit/File/X509/X509Test.php index 41258b21..773e2c41 100644 --- a/tests/Unit/File/X509/X509Test.php +++ b/tests/Unit/File/X509/X509Test.php @@ -181,6 +181,7 @@ aBtsWpliLSex/HHhtRW9AkBGcq67zKmEpJ9kXcYLEjJii3flFS+Ct/rNm+Hhm1l7 $issuer->setDN($subject->getDN()); $x509 = new X509(); + $x509->setEndDate('lifetime'); $result = $x509->sign($issuer, $subject); $cert = $x509->saveX509($result);