Use require rather than replace for dtls version.

go mod edit -dropreplace=github.com/pion/dtls/v2
go get github.com/pion/dtls/v2@v2.0.12

This is an update to
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/66.
This commit is contained in:
David Fifield 2021-12-16 09:46:55 -07:00
parent 9c11e479d0
commit aeb0794d28

3
go.mod
View file

@ -6,6 +6,7 @@ require (
git.torproject.org/pluggable-transports/goptlib.git v1.1.0 git.torproject.org/pluggable-transports/goptlib.git v1.1.0
github.com/google/uuid v1.2.0 // indirect github.com/google/uuid v1.2.0 // indirect
github.com/gorilla/websocket v1.4.1 github.com/gorilla/websocket v1.4.1
github.com/pion/dtls/v2 v2.0.12 // indirect
github.com/pion/ice/v2 v2.0.15 github.com/pion/ice/v2 v2.0.15
github.com/pion/sdp/v3 v3.0.4 github.com/pion/sdp/v3 v3.0.4
github.com/pion/stun v0.3.5 github.com/pion/stun v0.3.5
@ -21,5 +22,3 @@ require (
golang.org/x/net v0.0.0-20211201190559-0a0e4e1bb54c golang.org/x/net v0.0.0-20211201190559-0a0e4e1bb54c
google.golang.org/protobuf v1.23.0 google.golang.org/protobuf v1.23.0
) )
replace github.com/pion/dtls/v2 => github.com/pion/dtls/v2 v2.0.12