diff options
| author | Werner Koch <[email protected]> | 2012-05-08 16:18:32 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2012-05-08 16:18:32 +0000 |
| commit | b4d9f8dbc8e074cd91bbd3e2e54e2b77c9268d1a (patch) | |
| tree | 88a29c3dbc93aafd718e7ab392ce901cf35829f8 /g10/main.h | |
| parent | Always require libksba. (diff) | |
| download | gnupg-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/main.h')
| -rw-r--r-- | g10/main.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/g10/main.h b/g10/main.h index 7088abec9..d25265aa7 100644 --- a/g10/main.h +++ b/g10/main.h @@ -105,12 +105,6 @@ int openpgp_md_test_algo( int algo ); const char *openpgp_pk_algo_name (int algo); const char *openpgp_md_algo_name (int algo); -#ifdef USE_IDEA -void idea_cipher_warn( int show ); -#else -#define idea_cipher_warn(a) do { } while (0) -#endif - struct expando_args { PKT_public_key *pk; |
