mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
* 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.)
This commit is contained in:
parent
020ace9330
commit
7df1d684d9
@ -1,3 +1,14 @@
|
||||
2003-05-13 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* 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.)
|
||||
|
||||
2003-05-09 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* sha512.c: Use the U64_C() macro rather than blindly suffixing
|
||||
|
@ -124,9 +124,9 @@ load_module (const char *name)
|
||||
#endif
|
||||
|
||||
handle = dlopen (name, RTLD_NOW);
|
||||
if (!name)
|
||||
if (!handle)
|
||||
{
|
||||
/*log_error ("error loading module `%s': %s\n", name, dlerror());*/
|
||||
err=dlerror();
|
||||
goto failure;
|
||||
}
|
||||
|
||||
@ -134,14 +134,12 @@ load_module (const char *name)
|
||||
if (dlerror ())
|
||||
sym = dlsym (handle, "_idea_get_info");
|
||||
if ((err=dlerror()))
|
||||
{
|
||||
log_info ("invalid module `%s': %s\n", name, err);
|
||||
goto failure;
|
||||
}
|
||||
goto failure;
|
||||
|
||||
return sym;
|
||||
|
||||
failure:
|
||||
log_info ("invalid module `%s': %s\n", name?name:"???", err?err:"???");
|
||||
if (handle)
|
||||
dlclose (handle);
|
||||
#endif /*USE_DYNAMIC_LINKING*/
|
||||
|
@ -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 ) )
|
||||
|
1047
cipher/tiger.c
1047
cipher/tiger.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user