]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Revert refactoring which broke CentOS build
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 13 Oct 2013 17:56:04 +0000 (19:56 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 13 Oct 2013 17:56:04 +0000 (19:56 +0200)
src/libstrongswan/crypto/crypto_factory.c

index a1d7997776bfbc2d94a5c9590faff3c959c59b2b..edcabfe58d09dbc1d69e93373e8e4a0f846d0a14 100644 (file)
@@ -407,8 +407,8 @@ static void add_entry(private_crypto_factory_t *this, linked_list_t *list,
                .algo = algo,
                .plugin_name = plugin_name,
                .speed = speed,
-               .create = create,
        );
+       entry->create = create;
 
        this->lock->write_lock(this->lock);
        enumerator = list->create_enumerator(list);