diff options
author | NIIBE Yutaka <[email protected]> | 2019-06-20 02:29:27 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2019-06-20 02:29:27 +0000 |
commit | d5287f43fd4def68901519a4c1d471b81ee86ed0 (patch) | |
tree | 3e8b2f966ece3b7c17cecfb429ee5d29b210175c | |
parent | scd: Split data structures into app and card related objects. (diff) | |
download | gnupg-d5287f43fd4def68901519a4c1d471b81ee86ed0.tar.gz gnupg-d5287f43fd4def68901519a4c1d471b81ee86ed0.zip |
tools: Fix error handling for gpg-pair-tool.
* tools/gpg-pair-tool.c (read_message): Initialize ERR.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | tools/gpg-pair-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-pair-tool.c b/tools/gpg-pair-tool.c index 347b29d24..9a781def1 100644 --- a/tools/gpg-pair-tool.c +++ b/tools/gpg-pair-tool.c @@ -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]; |