mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
disable DSA2 for old Libgcrypts.
This commit is contained in:
parent
80f77d79c5
commit
5e755a2222
2 changed files with 13 additions and 0 deletions
|
@ -2932,6 +2932,15 @@ main (int argc, char **argv)
|
|||
"use!\n");
|
||||
#endif
|
||||
|
||||
/* 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 ());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue