summaryrefslogtreecommitdiff
path: root/kbx/kbxutil.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-02-09 16:00:13 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-02-09 16:00:13 +0900
commit6f2e2cc2b171ed4a631d26590eb4ccd4a89347b2 (patch)
tree2efb6d2121f5d04d8a3693203e309fd68623dbd0 /kbx/kbxutil.c
parent88d11242422e9ef0e94e472b61527faeb0a95bde (diff)
downloadgpg2-6f2e2cc2b171ed4a631d26590eb4ccd4a89347b2.tar.gz
gpg2-6f2e2cc2b171ed4a631d26590eb4ccd4a89347b2.tar.bz2
gpg2-6f2e2cc2b171ed4a631d26590eb4ccd4a89347b2.zip
Imported Upstream version 2.1.15upstream/2.1.15
Diffstat (limited to 'kbx/kbxutil.c')
-rw-r--r--kbx/kbxutil.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/kbx/kbxutil.c b/kbx/kbxutil.c
index d55a118..77b134a 100644
--- a/kbx/kbxutil.c
+++ b/kbx/kbxutil.c
@@ -454,20 +454,12 @@ main( int argc, char **argv )
early_system_init ();
set_strusage( my_strusage );
gcry_control (GCRYCTL_DISABLE_SECMEM);
- log_set_prefix ("kbxutil", 1);
+ log_set_prefix ("kbxutil", GPGRT_LOG_WITH_PREFIX);
/* Make sure that our subsystems are ready. */
i18n_init ();
init_common_subsystems (&argc, &argv);
- /* Check that the libraries are suitable. Do it here because
- the option parsing may need services of the library. */
- 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) );
- }
-
gcry_set_log_handler (my_gcry_logger, NULL);
/*create_dotlock(NULL); register locking cleanup */