mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-23 21:59:57 +01:00
* keygen.c (keygen_set_std_prefs): Warn when setting an IDEA preference
when IDEA is not available.
This commit is contained in:
parent
7b278538c7
commit
254225ac37
@ -1,3 +1,8 @@
|
||||
2003-01-07 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* keygen.c (keygen_set_std_prefs): Warn when setting an IDEA
|
||||
preference when IDEA is not available.
|
||||
|
||||
2003-01-06 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* trustdb.c (get_validity_info): 'd' for disabled is not a
|
||||
|
@ -240,7 +240,7 @@ keygen_set_std_prefs (const char *string,int personal)
|
||||
<=2048 bits, as that is what won't break PGP2, but that is
|
||||
difficult with the current code, and not really worth
|
||||
checking as a non-RSA <=2048 bit key wouldn't be usable by
|
||||
PGP2 anyway -dms */
|
||||
PGP2 anyway. -dms */
|
||||
}
|
||||
else if (!ascii_strcasecmp (string, "none"))
|
||||
string = "";
|
||||
@ -275,6 +275,12 @@ keygen_set_std_prefs (const char *string,int personal)
|
||||
else
|
||||
{
|
||||
log_info (_("invalid item `%s' in preference string\n"),tok);
|
||||
|
||||
/* Complain if IDEA is not available. */
|
||||
if(ascii_strcasecmp(tok,"s1")==0
|
||||
|| ascii_strcasecmp(tok,"idea")==0)
|
||||
idea_cipher_warn(1);
|
||||
|
||||
rc=-1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user