mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
agent: Init a local variable in the error case.
* agent/pksign.c (do_encode_md): Init HASH on error.
This commit is contained in:
parent
4f35ef499a
commit
f82a6e0f08
@ -69,6 +69,8 @@ do_encode_md (const byte * md, size_t mdlen, int algo, gcry_sexp_t * r_hash,
|
|||||||
mpi);
|
mpi);
|
||||||
gcry_mpi_release (mpi);
|
gcry_mpi_release (mpi);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
hash = NULL;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user