mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-03 10:38:52 +00:00
Initialise libgcrypt properly
* This prevents blocking on entropy
This commit is contained in:
parent
441f8554e3
commit
9e49677afa
@ -76,6 +76,8 @@ request_open_session_aes (SecretSession *session)
|
|||||||
g_assert (session->privat == NULL);
|
g_assert (session->privat == NULL);
|
||||||
g_assert (session->publi == NULL);
|
g_assert (session->publi == NULL);
|
||||||
|
|
||||||
|
egg_libgcrypt_initialize ();
|
||||||
|
|
||||||
/* Initialize our local parameters and values */
|
/* Initialize our local parameters and values */
|
||||||
if (!egg_dh_default_params ("ietf-ike-grp-modp-1024",
|
if (!egg_dh_default_params ("ietf-ike-grp-modp-1024",
|
||||||
&session->prime, &base))
|
&session->prime, &base))
|
||||||
|
Loading…
Reference in New Issue
Block a user