From 3318274d1845b6033085d1de98ed33ba048557d6 Mon Sep 17 00:00:00 2001 From: Rake Yang Date: Mon, 18 Oct 2021 10:54:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/PracticeTLS/TLS/TLSProtocol.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/PracticeTLS/TLS/TLSProtocol.swift b/Sources/PracticeTLS/TLS/TLSProtocol.swift index 1588b53..b9d2cdc 100644 --- a/Sources/PracticeTLS/TLS/TLSProtocol.swift +++ b/Sources/PracticeTLS/TLS/TLSProtocol.swift @@ -299,7 +299,7 @@ struct KeyShareEntry: Streamable { } } -extension Data { +public extension Data { var bytes: [UInt8] { return [UInt8](self) }