writeToUConn implements TLSExtension. For ECH extensions, writeToUConn simply points the ech field in UConn to the extension.
(uconn *UConn)
| 163 | // |
| 164 | // For ECH extensions, writeToUConn simply points the ech field in UConn to the extension. |
| 165 | func (g *GREASEEncryptedClientHelloExtension) writeToUConn(uconn *UConn) error { |
| 166 | uconn.ech = g |
| 167 | return uconn.MarshalClientHelloNoECH() |
| 168 | } |
| 169 | |
| 170 | // Len implements TLSExtension. |
| 171 | func (g *GREASEEncryptedClientHelloExtension) Len() int { |
nothing calls this directly
no test coverage detected