Golang gofmt version mismatch fix

Golang keeps changing gofmt output. Oh well. Gotta fix.
This commit is contained in:
Sergey Frolov 2018-12-05 17:20:33 -07:00
parent 141df846de
commit 41427a6f43
2 changed files with 8 additions and 8 deletions

View file

@ -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_*

View file

@ -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,