Use src/dst ports as configured in ike_cfg
[strongswan.git] / scripts / dh_speed.c
index 5a57bad..b85bf1a 100644 (file)
@@ -101,8 +101,8 @@ int main(int argc, char *argv[])
                usage();
        }
 
-       library_init(STRONGSWAN_CONF);
-       lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, argv[1]);
+       library_init(NULL);
+       lib->plugins->load(lib->plugins, NULL, argv[1]);
        atexit(library_deinit);
 
        rounds = atoi(argv[2]);