diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-06 15:21:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-06 15:21:12 +0000 |
commit | 734ebb79080aab27a82cb1a8380d4fc581e25638 (patch) | |
tree | d85d058efb0f8970c1bc96f4802ede97377c701d /net-vpn/riseup-vpn/files | |
parent | c8fb42216b10862e8178f91831e4c51fb2c55ac4 (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.patch | 18 |
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: |