summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vpn/plugins/ipsec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vpn/plugins/ipsec.c b/vpn/plugins/ipsec.c
index 2465ad4..b1a7ecd 100644
--- a/vpn/plugins/ipsec.c
+++ b/vpn/plugins/ipsec.c
@@ -158,7 +158,7 @@ static const char *ikev1_proposals [] ={
NULL,
};
-static const char *ikev2_esp_proposals = "aes256-aes128-sha512-sha384-sha256-sha1-modp2048-modp1536-modp1024";
+static const char *ikev2_esp_proposals = "aes256-aes128-sha256-sha1";
static const char *ikev2_proposals = "aes256-aes128-sha512-sha384-sha256-sha1-modp2048-modp1536-modp1024";
@@ -977,9 +977,6 @@ done:
if(err != 0 && cb)
cb(provider, data->user_data, -err);
- if (data)
- g_free(data);
-
return;
}