diff options
| author | Adnan Maolood <[email protected]> | 2021-03-04 16:27:16 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-03-04 16:27:16 -0500 |
| commit | ce649ecc66ba390a5e9f95c027a15030f90c3b36 (patch) | |
| tree | 390216869ca2bdd44fcb79811b66a8a95b612200 /certificate/store.go | |
| parent | certificate: Fix deadlock in Store.Get (diff) | |
| download | go-gemini-ce649ecc66ba390a5e9f95c027a15030f90c3b36.tar.xz go-gemini-ce649ecc66ba390a5e9f95c027a15030f90c3b36.zip | |
certificate: Remove Subject from CreateOptions
Diffstat (limited to 'certificate/store.go')
| -rw-r--r-- | certificate/store.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/certificate/store.go b/certificate/store.go index b93f571..536c3f6 100644 --- a/certificate/store.go +++ b/certificate/store.go @@ -3,7 +3,6 @@ package certificate import ( "crypto/tls" "crypto/x509" - "crypto/x509/pkix" "errors" "fmt" "io/fs" @@ -170,9 +169,6 @@ func (s *Store) createCertificate(scope string) (tls.Certificate, error) { } return Create(CreateOptions{ DNSNames: []string{scope}, - Subject: pkix.Name{ - CommonName: scope, - }, Duration: 365 * 24 * time.Hour, }) } |