aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-05-08 16:18:32 +0000
committerWerner Koch <[email protected]>2012-05-08 16:18:32 +0000
commitb4d9f8dbc8e074cd91bbd3e2e54e2b77c9268d1a (patch)
tree88a29c3dbc93aafd718e7ab392ce901cf35829f8 /g10/misc.c
parentAlways require libksba. (diff)
downloadgnupg-b4d9f8dbc8e074cd91bbd3e2e54e2b77c9268d1a.tar.gz
gnupg-b4d9f8dbc8e074cd91bbd3e2e54e2b77c9268d1a.zip
Add tweaks for the not anymore patented IDEA algorithm.
* g10/keygen.c (keygen_set_std_prefs): Include IDEA only in PGP2 compatibility mode. * g10/misc.c (idea_cipher_warn): Remove. Also remove all callers. * common/status.h (STATUS_RSA_OR_IDEA): Remove. Do not emit this status anymore. -- To keep the number of actually used algorithms low, we want to support IDEA only in a basically read-only way (unless --pgp2 is used during key generation). It does not make sense to suggest the use of this old 64 bit blocksize algorithm. However, there is old data available where it might be helpful to have IDEA available.
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/g10/misc.c b/g10/misc.c
index c49945a6f..3bf550c0b 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -546,24 +546,6 @@ openpgp_md_algo_name (int algo)
}
-#ifdef USE_IDEA
-/* Special warning for the IDEA cipher */
-void
-idea_cipher_warn(int show)
-{
- static int warned=0;
-
- if(!warned || show)
- {
- log_info(_("the IDEA cipher plugin is not present\n"));
- log_info(_("please see %s for more information\n"),
- "http://www.gnupg.org/faq/why-not-idea.html");
- warned=1;
- }
-}
-#endif
-
-
static unsigned long
get_signature_count (PKT_public_key *pk)
{