mirror of
https://github.com/refraction-networking/utls.git
synced 2025-03-31 10:37:36 +03:00
Golang gofmt version mismatch fix
Golang keeps changing gofmt output. Oh well. Gotta fix.
This commit is contained in:
parent
141df846de
commit
41427a6f43
2 changed files with 8 additions and 8 deletions
|
@ -15,5 +15,5 @@ install:
|
|||
script:
|
||||
- go test -race -v .
|
||||
- gometalinter --install
|
||||
- gometalinter --disable-all -E vet -E gofmt -E staticcheck -E ineffassign --tests .
|
||||
- gometalinter --disable-all -E misspell -E goimports --tests u_*
|
||||
- gometalinter --disable-all -E vet -E ineffassign --tests .
|
||||
- gometalinter --disable-all -E gofmt -E misspell -E goimports --tests u_*
|
||||
|
|
12
u_public.go
12
u_public.go
|
@ -160,9 +160,9 @@ func (crm *certificateRequestMsgTLS13) toPublic() *CertificateRequestMsgTLS13 {
|
|||
return nil
|
||||
} else {
|
||||
return &CertificateRequestMsgTLS13{
|
||||
Raw: crm.raw,
|
||||
OcspStapling: crm.ocspStapling,
|
||||
Scts: crm.scts,
|
||||
Raw: crm.raw,
|
||||
OcspStapling: crm.ocspStapling,
|
||||
Scts: crm.scts,
|
||||
SupportedSignatureAlgorithms: crm.supportedSignatureAlgorithms,
|
||||
SupportedSignatureAlgorithmsCert: crm.supportedSignatureAlgorithmsCert,
|
||||
CertificateAuthorities: crm.certificateAuthorities,
|
||||
|
@ -175,9 +175,9 @@ func (crm *CertificateRequestMsgTLS13) toPrivate() *certificateRequestMsgTLS13 {
|
|||
return nil
|
||||
} else {
|
||||
return &certificateRequestMsgTLS13{
|
||||
raw: crm.Raw,
|
||||
ocspStapling: crm.OcspStapling,
|
||||
scts: crm.Scts,
|
||||
raw: crm.Raw,
|
||||
ocspStapling: crm.OcspStapling,
|
||||
scts: crm.Scts,
|
||||
supportedSignatureAlgorithms: crm.SupportedSignatureAlgorithms,
|
||||
supportedSignatureAlgorithmsCert: crm.SupportedSignatureAlgorithmsCert,
|
||||
certificateAuthorities: crm.CertificateAuthorities,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue