keymat_v1: Remove useless assignment
authorTobias Brunner <tobias@strongswan.org>
Mon, 17 Sep 2018 14:00:11 +0000 (16:00 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 17 Sep 2018 16:51:41 +0000 (18:51 +0200)
src/libcharon/sa/ikev1/keymat_v1.c

index 1de05b4..bcea1f3 100644 (file)
@@ -219,7 +219,6 @@ static aead_t *create_aead(proposal_t *proposal, prf_t *prf, chunk_t skeyid_e,
                         encryption_algorithm_names, alg, key_size);
                return NULL;
        }
-       key_size = crypter->get_key_size(crypter);
        if (!expand_skeyid_e(skeyid_e, crypter->get_key_size(crypter), prf, ka))
        {
                return NULL;