aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/md.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-14 02:48:39 +0000
committerDavid Shaw <[email protected]>2003-05-14 02:48:39 +0000
commit7df1d684d980d769cb5b3d24e4dc9c5c345c38b7 (patch)
tree6f8b7545dae128b18c5e430b2e0b1106a7133451 /cipher/md.c
parent* parse-packet.c (parse_key): Clear disabled flag when parsing a new key. (diff)
downloadgnupg-7df1d684d980d769cb5b3d24e4dc9c5c345c38b7.tar.gz
gnupg-7df1d684d980d769cb5b3d24e4dc9c5c345c38b7.zip
* tiger.c: Use the U64_C macro instead of LL.
* md.c (string_to_digest_algo): Give a warning about TIGER192 not being part of OpenPGP. * idea-stub.c (load_module): Catch an error if the idea module file is unloadable for some reason (unreadable, bad permissions, etc.)
Diffstat (limited to 'cipher/md.c')
-rw-r--r--cipher/md.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cipher/md.c b/cipher/md.c
index 6ab50960f..71c49175b 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -142,6 +142,12 @@ string_to_digest_algo( const char *string )
return 0;
}
+#ifdef USE_TIGER
+ 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 ) )