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;
|
int digestlen;
|
||||||
unsigned char *digest;
|
unsigned char *digest;
|
||||||
int use_pss = 0;
|
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. */
|
/* Hash the target certificate using the algorithm from that certificate. */
|
||||||
algoid = ksba_cert_get_digest_algo (cert);
|
algoid = ksba_cert_get_digest_algo (cert);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user