このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
kris
/
tls-tris
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
changes &x -> x[0:] for array to slice conversion
R=gri CC=golang-dev
https://golang.org/cl/1326042
tls13
Russ Cox
14年前
親
751062bb0e
コミット
06f6131702
1個のファイルの変更
、
2行の追加
、
2行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+2
-2
conn.go
+ 2
- 2
conn.go
ファイルの表示
@@ -171,7 +171,7 @@ func (hc *halfConn) decrypt(b *block) (bool, alert) {
remoteMAC := payload[n:]
hc.mac.Reset()
hc.mac.Write(
&
hc.seq)
hc.mac.Write(hc.seq
[0:]
)
hc.incSeq()
hc.mac.Write(b.data)
@@ -188,7 +188,7 @@ func (hc *halfConn) encrypt(b *block) (bool, alert) {
// mac
if hc.mac != nil {
hc.mac.Reset()
hc.mac.Write(
&
hc.seq)
hc.mac.Write(hc.seq
[0:]
)
hc.incSeq()
hc.mac.Write(b.data)
mac := hc.mac.Sum()
書き込み
プレビュー
読み込み中…
キャンセル
保存