fixed segmentation fault due to null pointer
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 22 Apr 2011 08:11:16 +0000 (10:11 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 22 Apr 2011 08:11:16 +0000 (10:11 +0200)
configure.in
src/libcharon/plugins/eap_sim_file/eap_sim_file_plugin.c

index b5e6d18..b1443fb 100644 (file)
@@ -16,7 +16,7 @@ dnl ===========================
 dnl  initialize & set some vars
 dnl ===========================
 
-AC_INIT(strongSwan,4.5.2dr5)
+AC_INIT(strongSwan,4.5.2dr6)
 AM_INIT_AUTOMAKE(tar-ustar)
 AC_CONFIG_MACRO_DIR([m4/config])
 PKG_PROG_PKG_CONFIG
index 369c2eb..0ab5a18 100644 (file)
@@ -83,9 +83,9 @@ plugin_t *eap_sim_file_plugin_create()
                        },
                },
                .triplets = eap_sim_file_triplets_create(TRIPLET_FILE),
-               .provider = eap_sim_file_provider_create(this->triplets),
        );
 
+       this->provider = eap_sim_file_provider_create(this->triplets);
        if (!this->provider)
        {
                this->triplets->destroy(this->triplets);