pgppubring.c: In function 'pgp_parse_pgp3_sig':
pgppubring.c:424:17: warning: variable 'hashalg' set but not used [-Wunused-but-set-variable]
pgppubring.c:423:17: warning: variable 'pkalg' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
pgp_key_t p, pgp_sig_t *s)
{
unsigned char sigtype;
- unsigned char pkalg;
- unsigned char hashalg;
unsigned char skt;
time_t sig_gen_time = -1;
long validity = -1;
j = 2;
sigtype = buff[j++];
- pkalg = buff[j++];
- hashalg = buff[j++];
+ j += 2; /* pkalg, hashalg */
for (ii = 0; ii < 2; ii++)
{