mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add reformat for utls roundtripper
This commit is contained in:
parent
4447860661
commit
c1b0f763ef
1 changed files with 7 additions and 6 deletions
|
@ -6,18 +6,19 @@ import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"crypto/x509"
|
"crypto/x509"
|
||||||
"crypto/x509/pkix"
|
"crypto/x509/pkix"
|
||||||
utls "github.com/refraction-networking/utls"
|
|
||||||
"golang.org/x/net/http2"
|
|
||||||
"math/big"
|
"math/big"
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
stdcontext "context"
|
||||||
|
|
||||||
|
utls "github.com/refraction-networking/utls"
|
||||||
|
"golang.org/x/net/http2"
|
||||||
|
|
||||||
|
. "github.com/smartystreets/goconvey/convey"
|
||||||
)
|
)
|
||||||
|
|
||||||
import . "github.com/smartystreets/goconvey/convey"
|
|
||||||
|
|
||||||
import stdcontext "context"
|
|
||||||
|
|
||||||
func TestRoundTripper(t *testing.T) {
|
func TestRoundTripper(t *testing.T) {
|
||||||
var selfSignedCert []byte
|
var selfSignedCert []byte
|
||||||
var selfSignedPrivateKey *rsa.PrivateKey
|
var selfSignedPrivateKey *rsa.PrivateKey
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue