diff options
author | David Shaw <[email protected]> | 2003-05-15 05:29:05 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-05-15 05:29:05 +0000 |
commit | 0048ebcbaeb754a3920cfe6ee01f16e96a54b328 (patch) | |
tree | 3c8699061e8549cf8efdf2b2be789ec072d2679f /cipher/md.c | |
parent | * types.h: Add initializer macros for 64-bit unsigned type. (diff) | |
download | gnupg-0048ebcbaeb754a3920cfe6ee01f16e96a54b328.tar.gz gnupg-0048ebcbaeb754a3920cfe6ee01f16e96a54b328.zip |
* cipher.c (setup_cipher_table): #ifdef IDEA.
* random.c (fast_random_poll): Only use times() if we HAVE_TIMES.
* sha512.c, tiger.c: Use the U64_C() macro to specify 64-bit constants.
U64_C is defined in include/types.h and uses the correct suffix depending
on the underlying type of u64.
* idea-stub.c (load_module): Catch an error if the idea module file is
unloadable for some reason (unreadable, bad permissions, etc.)
* md.c (string_to_digest_algo): Give a warning about TIGER192 not being
part of OpenPGP.
Diffstat (limited to 'cipher/md.c')
-rw-r--r-- | cipher/md.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cipher/md.c b/cipher/md.c index b5185bd92..f7ced3a4b 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -144,6 +144,12 @@ string_to_digest_algo( const char *string ) return 0; } +#ifdef USE_TIGER192 + if(!ascii_strcasecmp("tiger192",string)) + log_info(_("WARNING: digest `%s' is not part of OpenPGP. " + "Use at your own risk!\n"),string); +#endif + do { for(r = digest_list; r; r = r->next ) if( !ascii_strcasecmp( r->name, string ) ) |