Skip to content

Commit a6a7b14

Browse files
committed
crypto/tls: deprecate SSLv3 support
Updates #32716 Change-Id: Ia0c03918e8f2da4d9824c49c6d4cfca1b0787b0a Reviewed-on: https://go-review.googlesource.com/c/go/+/184102 Reviewed-by: Andrew Bonventre <[email protected]>
1 parent 37b194a commit a6a7b14

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

doc/go1.13.html

+8
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,14 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
534534

535535
<dl id="crypto/tls"><dt><a href="/pkg/crypto/tls/">crypto/tls</a></dt>
536536
<dd>
537+
<p>
538+
Support for SSL version 3.0 (SSLv3) <a href="https://golang.org/issue/32716">
539+
is now deprecated and will be removed in Go 1.14</a>. Note that SSLv3
540+
<a href="https://tools.ietf.org/html/rfc7568">is cryptographically
541+
broken</a>, is already disabled by default in <code>crypto/tls</code>,
542+
and was never supported by Go clients.
543+
</p>
544+
537545
<p><!-- CL 177698 -->
538546
Ed25519 certificates are now supported in TLS versions 1.2 and 1.3.
539547
</p>

src/crypto/tls/common.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ import (
2323
)
2424

2525
const (
26-
VersionSSL30 = 0x0300
2726
VersionTLS10 = 0x0301
2827
VersionTLS11 = 0x0302
2928
VersionTLS12 = 0x0303
3029
VersionTLS13 = 0x0304
30+
31+
// Deprecated: SSLv3 is cryptographically broken, and will be
32+
// removed in Go 1.14. See golang.org/issue/32716.
33+
VersionSSL30 = 0x0300
3134
)
3235

3336
const (

0 commit comments

Comments
 (0)