We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78e7928 commit d162186Copy full SHA for d162186
acme/autocert/autocert.go
@@ -276,8 +276,9 @@ func supportsECDSA(hello *tls.ClientHelloInfo) bool {
276
ecdsaOK := false
277
schemeLoop:
278
for _, scheme := range hello.SignatureSchemes {
279
+ var tlsECDSAWithSHA1 tls.SignatureScheme = 0x0203 // constant added in Go 1.10
280
switch scheme {
- case tls.ECDSAWithSHA1, tls.ECDSAWithP256AndSHA256,
281
+ case tlsECDSAWithSHA1, tls.ECDSAWithP256AndSHA256,
282
tls.ECDSAWithP384AndSHA384, tls.ECDSAWithP521AndSHA512:
283
ecdsaOK = true
284
break schemeLoop
0 commit comments