diff options
author | Ben Kibbey <[email protected]> | 2016-08-08 22:40:03 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-08-09 08:47:46 +0000 |
commit | 49829c29e541546084950b8a153067db371d101a (patch) | |
tree | 5d2ffb8d53187a25e1fe34e37d7d83ba8111e655 /g13/g13.c | |
parent | agent: SSH support improvement. (diff) | |
download | gnupg-49829c29e541546084950b8a153067db371d101a.tar.gz gnupg-49829c29e541546084950b8a153067db371d101a.zip |
Cleanup initialization of libgcrypt.
* common/init.c (init_common_subsystems): Initialize libgcrypt.
* dirmngr/Makefile.am (dirmngr_ldap): Link with libgcrypt.
--
Most other modules already call gcry_check_version() after
init_common_subsystems() so may as well move initialization of libgcrypt
to here. Also fixes a warning in the system log from gpgconf --homedir.
Signed-off-by: Ben Kibbey <[email protected]>
Diffstat (limited to 'g13/g13.c')
-rw-r--r-- | g13/g13.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -372,11 +372,6 @@ main ( int argc, char **argv) npth_init (); - /* Check that the Libgcrypt is suitable. */ - if (!gcry_check_version (NEED_LIBGCRYPT_VERSION) ) - log_fatal (_("%s is too old (need %s, have %s)\n"), "libgcrypt", - NEED_LIBGCRYPT_VERSION, gcry_check_version (NULL) ); - /* Take extra care of the random pool. */ gcry_control (GCRYCTL_USE_SECURE_RNDPOOL); |