mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +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->publi == NULL);
|
||||
|
||||
egg_libgcrypt_initialize ();
|
||||
|
||||
/* Initialize our local parameters and values */
|
||||
if (!egg_dh_default_params ("ietf-ike-grp-modp-1024",
|
||||
&session->prime, &base))
|
||||
|
Loading…
Reference in New Issue
Block a user