summaryrefslogtreecommitdiff
path: root/net-vpn/riseup-vpn/files/riseup-vpn-0.21.11_p20221113-revert-data-cipher-arg-to-cipher.patch
blob: 375250be4127e3da3ba878d11ea55f1adb20956b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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: