Skip to content

Commit

Permalink
Remove unused argument from test helper
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
  • Loading branch information
sykesm authored and mastersingh24 committed Jan 21, 2021
1 parent e8e2935 commit 9e3616c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ca_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestCABadCACertificates(t *testing.T) {
testValidDates(cert, t)
testValidKeyType(cert, t)
testValidKeySize(cert, t)
testValidMatchingKeys(cert, t)
testValidMatchingKeys(t)
testValidUsages(cert, t)
CAclean(ca, t)
}
Expand Down Expand Up @@ -181,10 +181,10 @@ func testValidKeySize(cert *x509.Certificate, t *testing.T) {
}
}

func testValidMatchingKeys(cert *x509.Certificate, t *testing.T) {
func testValidMatchingKeys(t *testing.T) {
err := GenerateECDSATestCert()
util.FatalError(t, err, "Failed to generate certificate for testing")
cert, err = getCertFromFile(ecCert)
cert, err := getCertFromFile(ecCert)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 9e3616c

Please sign in to comment.