aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-02-03 15:39:03 +0000
committerWerner Koch <[email protected]>2011-02-03 15:39:03 +0000
commit38904b697c4d27a70281149c6070e6dfca4e893b (patch)
tree72ae98a01f64dbe2df74d9687faba0c97159d799 /g10/gpg.c
parentAdd gitattributes (diff)
parentFinished ECC integration. (diff)
downloadgnupg-38904b697c4d27a70281149c6070e6dfca4e893b.tar.gz
gnupg-38904b697c4d27a70281149c6070e6dfca4e893b.zip
Merge branch 'ECC-INTEGRATION-2-1'ecc-integration-done
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index a0ec48341..6daa144be 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -858,7 +858,7 @@ my_strusage( int level )
case 34:
if (!pubkeys)
pubkeys = build_list (_("Pubkey: "), 0,
- gcry_pk_algo_name,
+ openpgp_pk_algo_name,
openpgp_pk_test_algo );
p = pubkeys;
break;
@@ -1959,6 +1959,9 @@ main (int argc, char **argv)
NEED_LIBGCRYPT_VERSION, gcry_check_version (NULL) );
}
+ /* Use our own logging handler for Libcgrypt. */
+ setup_libgcrypt_logging ();
+
/* Put random number into secure memory */
gcry_control (GCRYCTL_USE_SECURE_RNDPOOL);