Commit 9e49677a authored by Stef Walter's avatar Stef Walter

Initialise libgcrypt properly

 * This prevents blocking on entropy
parent 441f8554
......@@ -76,6 +76,8 @@ request_open_session_aes (SecretSession *session)
g_assert (session->privat == NULL);
g_assert (session->publi == NULL);
egg_libgcrypt_initialize ();
/* Initialize our local parameters and values */
if (!egg_dh_default_params ("ietf-ike-grp-modp-1024",
&session->prime, &base))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment