summaryrefslogtreecommitdiff
path: root/net-vpn/riseup-vpn/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-06 15:21:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-06 15:21:12 +0000
commit734ebb79080aab27a82cb1a8380d4fc581e25638 (patch)
treed85d058efb0f8970c1bc96f4802ede97377c701d /net-vpn/riseup-vpn/files
parentc8fb42216b10862e8178f91831e4c51fb2c55ac4 (diff)
gentoo auto-resync : 06:02:2023 - 15:21:12
Diffstat (limited to 'net-vpn/riseup-vpn/files')
-rw-r--r--net-vpn/riseup-vpn/files/riseup-vpn-0.21.11_p20221113-revert-data-cipher-arg-to-cipher.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-vpn/riseup-vpn/files/riseup-vpn-0.21.11_p20221113-revert-data-cipher-arg-to-cipher.patch b/net-vpn/riseup-vpn/files/riseup-vpn-0.21.11_p20221113-revert-data-cipher-arg-to-cipher.patch
new file mode 100644
index 000000000000..375250be4127
--- /dev/null
+++ b/net-vpn/riseup-vpn/files/riseup-vpn-0.21.11_p20221113-revert-data-cipher-arg-to-cipher.patch
@@ -0,0 +1,18 @@
+diff --git a/pkg/vpn/bonafide/eip_service.go b/pkg/vpn/bonafide/eip_service.go
+index 71c9b82..c6caf37 100644
+--- a/pkg/vpn/bonafide/eip_service.go
++++ b/pkg/vpn/bonafide/eip_service.go
+@@ -238,13 +238,6 @@ func (eip eipService) getOpenvpnArgs() []string {
+ for arg, value := range cfg {
+ switch v := value.(type) {
+ case string:
+- // this is a transitioning hack for the transition to float deployment,
+- // assuming we're using openvpn 2.5. We're treating the "cipher"
+- // string that the platform sends us as the newer data-cipher
+- // which includes colon-separated ciphers.
+- if arg == "cipher" {
+- arg = "data-ciphers"
+- }
+ args = append(args, "--"+arg)
+ args = append(args, strings.Split(v, " ")...)
+ case bool: