Skip to content

Commit 7ce7dd3

Browse files
committed
pkg/util/tlsutil: add tls primitives functions
1 parent 1f9f02d commit 7ce7dd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/tlsutil/tls.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ import (
2323
type CertType int
2424

2525
const (
26-
// ClientCert defines a client cert.
27-
ClientCert CertType = iota
26+
// ClientAndServingCert defines both client and serving cert.
27+
ClientAndServingCert CertType = iota
2828
// ServingCert defines a serving cert.
2929
ServingCert
30-
// ClientAndServingCert defines both client and serving cert.
31-
ClientAndServingCert
30+
// ClientCert defines a client cert.
31+
ClientCert
3232
)
3333

3434
// CertConfig configures how to generate the Cert.

0 commit comments

Comments
 (0)