mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-02 14:17:01 +01:00
caddytls: gofmt (Go 1.11) (#2241)
This commit is contained in:
parent
3ccad1814e
commit
93c5256318
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ func (cfg *Config) GetCertificate(clientHello *tls.ClientHelloInfo) (*tls.Certif
|
||||||
CipherSuites: clientHello.CipherSuites,
|
CipherSuites: clientHello.CipherSuites,
|
||||||
ExtensionsUnknown: true, // no extension info... :(
|
ExtensionsUnknown: true, // no extension info... :(
|
||||||
CompressionMethodsUnknown: true, // no compression methods... :(
|
CompressionMethodsUnknown: true, // no compression methods... :(
|
||||||
Curves: clientHello.SupportedCurves,
|
Curves: clientHello.SupportedCurves,
|
||||||
Points: clientHello.SupportedPoints,
|
Points: clientHello.SupportedPoints,
|
||||||
// We also have, but do not yet use: SignatureSchemes, ServerName, and SupportedProtos (ALPN)
|
// We also have, but do not yet use: SignatureSchemes, ServerName, and SupportedProtos (ALPN)
|
||||||
// because the standard lib parses some extensions, but our MITM detector generally doesn't.
|
// because the standard lib parses some extensions, but our MITM detector generally doesn't.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue