mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Improved logging for error orginating from libgcrypt.
This commit is contained in:
parent
e3a8e6b727
commit
b89d98e335
16 changed files with 119 additions and 140 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-04-20 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgsm.c (main): Parameterize failed versions check messages.
|
||||
|
||||
2007-04-19 Werner Koch <wk@g10code.com>
|
||||
|
||||
* certcheck.c (do_encode_md): Add arg PKEY. Add support for DSA2
|
||||
|
|
12
sm/gpgsm.c
12
sm/gpgsm.c
|
@ -768,15 +768,11 @@ main ( int argc, char **argv)
|
|||
/* Check that the libraries are suitable. Do it here because the
|
||||
option parse may need services of the library */
|
||||
if (!gcry_check_version (NEED_LIBGCRYPT_VERSION) )
|
||||
{
|
||||
log_fatal( _("libgcrypt is too old (need %s, have %s)\n"),
|
||||
NEED_LIBGCRYPT_VERSION, gcry_check_version (NULL) );
|
||||
}
|
||||
log_fatal (_("%s is too old (need %s, have %s)\n"), "libgcrypt",
|
||||
NEED_LIBGCRYPT_VERSION, gcry_check_version (NULL) );
|
||||
if (!ksba_check_version (NEED_KSBA_VERSION) )
|
||||
{
|
||||
log_fatal( _("libksba is too old (need %s, have %s)\n"),
|
||||
NEED_KSBA_VERSION, ksba_check_version (NULL) );
|
||||
}
|
||||
log_fatal (_("%s is too old (need %s, have %s)\n"), "libksba",
|
||||
NEED_KSBA_VERSION, ksba_check_version (NULL) );
|
||||
|
||||
|
||||
gcry_control (GCRYCTL_USE_SECURE_RNDPOOL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue