1
0
mirror of https://github.com/fumiama/terasu.git synced 2026-06-05 01:00:23 +08:00

feat: support go1.24&go1.25

This commit is contained in:
源文雨
2025-09-30 23:16:01 +08:00
parent 3ac40e382e
commit 1d9b679c36
7 changed files with 898 additions and 12 deletions

View File

@@ -148,10 +148,10 @@ type clientHandshakeStateTLS13 struct {
earlySecret []byte
binderKey []byte
certReq *uintptr
certReq unsafe.Pointer
usingPSK bool
sentDummyCCS bool
suite *uintptr
suite unsafe.Pointer
transcript hash.Hash
masterSecret []byte
trafficSecret []byte // client_application_traffic_secret_0
@@ -186,7 +186,7 @@ type clientHandshakeState struct {
ctx context.Context
serverHello *serverHelloMsg
hello *clientHelloMsg
suite *uintptr
suite unsafe.Pointer
finishedHash finishedHash
masterSecret []byte
session *sessionState // the session being resumed