Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

22 linhas
670 B

  1. diff --git a/caddytls/config.go b/caddytls/config.go
  2. index 6632aed..767886c 100644
  3. --- a/caddytls/config.go
  4. +++ b/caddytls/config.go
  5. @@ -372,7 +372,7 @@ func SetDefaultTLSParams(config *Config) {
  6. config.ProtocolMinVersion = tls.VersionTLS11
  7. }
  8. if config.ProtocolMaxVersion == 0 {
  9. - config.ProtocolMaxVersion = tls.VersionTLS12
  10. + config.ProtocolMaxVersion = tls.VersionTLS13
  11. }
  12. // Prefer server cipher suites
  13. @@ -394,6 +394,7 @@ var supportedProtocols = map[string]uint16{
  14. "tls1.0": tls.VersionTLS10,
  15. "tls1.1": tls.VersionTLS11,
  16. "tls1.2": tls.VersionTLS12,
  17. + "tls1.3": tls.VersionTLS13,
  18. }
  19. // Map of supported ciphers, used only for parsing config.