ike: Add an additional but separate AEAD proposal to IKE config, if supported
[strongswan.git] / src / libcharon / plugins / sql / sql_config.c
index a8d34f2..152c4ec 100644 (file)
@@ -242,6 +242,7 @@ static void add_ike_proposals(private_sql_config_t *this,
        if (use_default)
        {
                ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE));
+               ike_cfg->add_proposal(ike_cfg, proposal_create_default_aead(PROTO_IKE));
        }
 }