diff options
author | Mikhail Zabaluev <mikhail.zabaluev@gmail.com> | 2020-06-15 08:39:47 +0300 |
---|---|---|
committer | Mikhail Zabaluev <mikhail.zabaluev@gmail.com> | 2020-06-18 10:25:36 +0300 |
commit | caf9c0345cd9b43120f3d016e706b877c4801ce2 (patch) | |
tree | c221791b526429b49a6d408074890c40a31571cd /libsecret | |
parent | ac51524c2b843b02b5f74cc6bbc5e529eae84b26 (diff) | |
download | libsecret-caf9c0345cd9b43120f3d016e706b877c4801ce2.tar.gz |
Initialize libgcrypt for SecretFileCollection
Make sure libgcrypt is initialized before any SecretFileCollection
instance uses it.
Diffstat (limited to 'libsecret')
-rw-r--r-- | libsecret/secret-file-collection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsecret/secret-file-collection.c b/libsecret/secret-file-collection.c index 2e90e3c..a27cf04 100644 --- a/libsecret/secret-file-collection.c +++ b/libsecret/secret-file-collection.c @@ -16,6 +16,7 @@ #include "secret-file-collection.h" +#include "egg/egg-libgcrypt.h" #include "egg/egg-secure-memory.h" EGG_SECURE_DECLARE (secret_file_collection); @@ -271,6 +272,8 @@ secret_file_collection_class_init (SecretFileCollectionClass *klass) g_param_spec_boxed ("password", "password", "Password", SECRET_TYPE_VALUE, G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); + + egg_libgcrypt_initialize (); } static void |