mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
dirmngr: Fix a wrong compiler warning.
-- validate.c:1103:13: warning: ‘saltlen’ may be used uninitialized in this function [-Wmaybe-uninitialized]
This commit is contained in:
parent
f0b373cec9
commit
fb3fd553df
@ -955,7 +955,7 @@ check_cert_sig (ksba_cert_t issuer_cert, ksba_cert_t cert)
|
||||
int digestlen;
|
||||
unsigned char *digest;
|
||||
int use_pss = 0;
|
||||
unsigned int saltlen; /* (use is controlled by use_pss) */
|
||||
unsigned int saltlen = 0; /* (use is actually controlled by use_pss) */
|
||||
|
||||
/* Hash the target certificate using the algorithm from that certificate. */
|
||||
algoid = ksba_cert_get_digest_algo (cert);
|
||||
|
Loading…
x
Reference in New Issue
Block a user