dh_exponent_ansi_x9_42 is now a libstrongswan setting
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 26 May 2009 16:32:52 +0000 (18:32 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 26 May 2009 16:32:52 +0000 (18:32 +0200)
src/libstrongswan/plugins/gmp/gmp_diffie_hellman.c
src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c

index 810dadc..20d4541 100644 (file)
@@ -560,7 +560,7 @@ gmp_diffie_hellman_t *gmp_diffie_hellman_create(diffie_hellman_group_t group)
        }
 
        ansi_x9_42 = lib->settings->get_int(lib->settings,
-                                        "charon.dh_exponent_ansi_x9_42", TRUE);
+                                        "libstrongswan.dh_exponent_ansi_x9_42", TRUE);
        exponent_len = (ansi_x9_42) ? this->p_len : this->opt_exponent_len;     
        rng->allocate_bytes(rng, exponent_len, &random);
        rng->destroy(rng);
index 7c6e709..fe042ef 100644 (file)
@@ -169,7 +169,7 @@ static status_t set_modulus(private_openssl_diffie_hellman_t *this)
        bool ansi_x9_42;
        
        ansi_x9_42 = lib->settings->get_bool(lib->settings,
-                                                                                "charon.dh_exponent_ansi_x9_42", TRUE);
+                                                                                "libstrongswan.dh_exponent_ansi_x9_42", TRUE);
        
        for (i = 0; i < (sizeof(modulus_entries) / sizeof(modulus_entry_t)); i++)
        {