()
| 16 | type TLSSessionID = [16]byte |
| 17 | |
| 18 | func NewTLSSessionID() (res TLSSessionID) { |
| 19 | crand.Read(res[:]) |
| 20 | return |
| 21 | } |
| 22 | |
| 23 | func TLSSessionIDFromState(ss *tls.SessionState) (TLSSessionID, bool) { |
| 24 | for _, tag := range ss.Extra { |
no test coverage detected