summaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-07-09 10:52:31 +0200
committerWerner Koch <wk@gnupg.org>2009-07-09 10:52:31 +0200
commite50cac1d848d332c4dbf49d5f705d3cbbf074ba1 (patch)
tree3a3b9d12fdd9fa4fa7c120c630d1e016fa8a963e /g10/gpg.c
parent* gpgkeys_hkp.c (main, srv_replace): Minor tweaks to use the DNS-SD (diff)
downloadgnupg2-e50cac1d848d332c4dbf49d5f705d3cbbf074ba1.tar.xz
gnupg2-e50cac1d848d332c4dbf49d5f705d3cbbf074ba1.zip
Changed default hash algorithm preferences
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 1e902aa22..d7ac01971 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3195,11 +3195,6 @@ main (int argc, char **argv)
keygen_set_std_prefs(opt.def_preference_list,0))
log_error(_("invalid default preferences\n"));
- /* We provide defaults for the personal digest list. This is
- SHA-1. */
- if(!pers_digest_list)
- pers_digest_list="h2";
-
if(pers_cipher_list &&
keygen_set_std_prefs(pers_cipher_list,PREFTYPE_SYM))
log_error(_("invalid personal cipher preferences\n"));