mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
tools: Fix error handling for gpg-pair-tool.
* tools/gpg-pair-tool.c (read_message): Initialize ERR. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
5a5288d051
commit
d5287f43fd
@ -976,7 +976,7 @@ read_message (unsigned char **r_msg, size_t *r_msglen, int *r_msgtype,
|
||||
static gpg_error_t
|
||||
display_sas (const unsigned char *hash, size_t hashlen, int wait)
|
||||
{
|
||||
gpg_error_t err;
|
||||
gpg_error_t err = 0;
|
||||
unsigned long sas = 0;
|
||||
char sasbuf[12];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user