Commit 3567f71b authored by Brad Fitzpatrick's avatar Brad Fitzpatrick Committed by Brad Fitzpatrick
Browse files

crypto/tls: help linker remove code when only Client or Server is used

This saves 166 KiB for a tls.Dial hello world program (5382441 to
5212356 to bytes), by permitting the linker to remove TLS server code.

Change-Id: I16610b836bb0802b7d84995ff881d79ec03b6a84
Reviewed-on: https://go-review.googlesource.com/c/go/+/228111


Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent e4e19248
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment