[tor-commits] [snowflake/main] Use `require` rather than `replace` for dtls version.

meskio at torproject.org meskio at torproject.org
Fri Dec 17 16:06:46 UTC 2021


commit aeb0794d2843d0cf9dfba2d8d4d0a9719b5636cd
Author: David Fifield <david at bamsoftware.com>
Date:   Thu Dec 16 09:46:55 2021 -0700

    Use `require` rather than `replace` for dtls version.
    
    go mod edit -dropreplace=github.com/pion/dtls/v2
    go get github.com/pion/dtls/v2 at v2.0.12
    
    This is an update to
    https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/66.
---
 go.mod | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/go.mod b/go.mod
index 5538110..e8038f1 100644
--- a/go.mod
+++ b/go.mod
@@ -6,6 +6,7 @@ require (
 	git.torproject.org/pluggable-transports/goptlib.git v1.1.0
 	github.com/google/uuid v1.2.0 // indirect
 	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/sdp/v3 v3.0.4
 	github.com/pion/stun v0.3.5
@@ -21,5 +22,3 @@ require (
 	golang.org/x/net v0.0.0-20211201190559-0a0e4e1bb54c
 	google.golang.org/protobuf v1.23.0
 )
-
-replace github.com/pion/dtls/v2 => github.com/pion/dtls/v2 v2.0.12



More information about the tor-commits mailing list