mirror of
https://github.com/XTLS/REALITY.git
synced 2026-09-28 01:48:07 +03:00
crypto/tls: skip unnecessary type conversion
Both ec.raw and the assigned enc are []byte and don't require an explicit conversion. Change-Id: I2f0e7c161b653269ee450fefe5a49fc9e9e42fd2 Reviewed-on: https://go-review.googlesource.com/c/go/+/790301 Auto-Submit: Daniel McCarney <daniel@binaryparadox.net> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Reference in New Issue
Block a user