Skip to content

Commit

Permalink
tests: add NA test case for e_tls_server_cert_valid_time_longer_than_…
Browse files Browse the repository at this point in the history
…398_days (#457)
  • Loading branch information
cardonator authored Jul 23, 2020
1 parent 34310bd commit 6d02ef7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ func TestServerCertValidityTooLong(t *testing.T) {
testCert: "eeServerCertValidOver398.pem",
expected: lint.Error,
},
{
// Cert containing CA basic constraint, should be Not Applicable
testCert: "caBasicConstCrit.pem",
expected: lint.NA,
},
}

for _, tc := range testCases {
Expand Down

0 comments on commit 6d02ef7

Please sign in to comment.