utls icon indicating copy to clipboard operation
utls copied to clipboard

forgeConn() in examples is broken

Open gaukas opened this issue 3 years ago • 0 comments

As mentioned in #117, this issue has been there for awhile.

Description

forgeConn() in the example in examples folder is broken and crashing the example due to null pointer being dereferenced.

Cause

The cipher suite checking in tls.MakeConnWithCompleteHandshake() doesn't work with TLS 1.3 yet.

Notes

We could find a TLS 1.2 host to demonstrate the example and/or add TLS 1.3 support for MakeConnWithCompleteHandshake().

gaukas avatar Sep 14 '22 04:09 gaukas