Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvob committed Jul 29, 2024
1 parent 19f1419 commit 0c708c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import (

func createAndParse(name string, signCert *x509.Certificate, signKey crypto.PrivateKey) (*x509.Certificate, crypto.PrivateKey, error) {
crt := NewCertificate(&CertificateOptions{
Subject: pkix.Name{
CommonName: name,
Certificate: x509.Certificate{
Subject: pkix.Name{
CommonName: name,
},
},
})

Expand Down

0 comments on commit 0c708c9

Please sign in to comment.