summarylogtreecommitdiffstats
path: root/quic_disabled.go.patch
diff options
context:
space:
mode:
authorgilcu32023-10-02 14:01:47 +0200
committergilcu32023-10-02 14:01:47 +0200
commit2ad8a5abb77e585bcf98f9b6a643f284f5465d33 (patch)
treed61ef416e15aa10793b0bd3dee1941a997f730a8 /quic_disabled.go.patch
parent36fd9798cde53da35abdaafd912f9eeac0449f1a (diff)
downloadaur-2ad8a5abb77e585bcf98f9b6a643f284f5465d33.tar.gz
fixed build, reverted to fixed go version
Diffstat (limited to 'quic_disabled.go.patch')
-rw-r--r--quic_disabled.go.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/quic_disabled.go.patch b/quic_disabled.go.patch
new file mode 100644
index 000000000000..05c4d5a913da
--- /dev/null
+++ b/quic_disabled.go.patch
@@ -0,0 +1,20 @@
+diff --git a/psiphon/common/quic/quic_disabled.go b/psiphon/common/quic/quic_disabled.go
+index df8f0095..d406316c 100644
+--- a/psiphon/common/quic/quic_disabled.go
++++ b/psiphon/common/quic/quic_disabled.go
+@@ -30,6 +30,7 @@ import (
+ "github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common"
+ "github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/errors"
+ "github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/prng"
++ "github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/obfuscator"
+ )
+
+ // Enabled indicates if QUIC functionality is enabled.
+@@ -60,6 +61,7 @@ func Dial(
+ _ *prng.Seed,
+ _ string,
+ _ *prng.Seed,
++ _ *transforms.ObfuscatorSeedTransformerParameters,
+ _ bool) (net.Conn, error) {
+
+ return nil, errors.TraceNew("operation is not enabled")