gpg: Remove superfluous check for Libgcrypt >= 1.4.0.

* g10/gpg.c (main): Remove check.
--

We require 1.6.0 anyway.
This commit is contained in:
Werner Koch 2014-10-31 14:47:02 +01:00
parent f74ca872df
commit f4df71aa2d
1 changed files with 0 additions and 9 deletions

View File

@ -3202,15 +3202,6 @@ main (int argc, char **argv)
log_set_prefix (NULL, 1|2|4);
}
/* Older Libgcrypts fail with an assertion during DSA key
generation. Better disable DSA2 entirely. */
if (opt.flags.dsa2 && !gcry_check_version ("1.4.0") )
{
log_info ("WARNING: "
"DSA2 is only available with Libgcrypt 1.4 and later\n");
opt.flags.dsa2 = 0;
}
if (opt.verbose > 2)
log_info ("using character set '%s'\n", get_native_charset ());