diff options
author | Werner Koch <wk@gnupg.org> | 2018-10-23 22:51:40 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2018-10-23 22:51:40 +0200 |
commit | 9f2c7ec4d8b07e82663ad084c90c016d3c3b80c2 (patch) | |
tree | 8254fa458fd30479b19f42e819d967f7edfba7cb /src/gcrypt.h.in | |
parent | 282f238f7788267768e823c0976aff15aeaff103 (diff) | |
download | libgcrypt-9f2c7ec4d8b07e82663ad084c90c016d3c3b80c2.tar.gz |
sexp: Fix uninitialized use of a var in the error case.
* src/sexp.c (_gcry_sexp_vextract_param): Initialize L1.
--
GnuPG-bug-id: 4212
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/gcrypt.h.in')
-rw-r--r-- | src/gcrypt.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in index d2dfe803..36bbf200 100644 --- a/src/gcrypt.h.in +++ b/src/gcrypt.h.in @@ -1318,7 +1318,7 @@ gpg_error_t gcry_md_extract (gcry_md_hd_t hd, int algo, void *buffer, size_t length); /* Convenience function to calculate the hash from the data in BUFFER - of size LENGTH using the algorithm ALGO avoiding the creating of a + of size LENGTH using the algorithm ALGO avoiding the creation of a hash object. The hash is returned in the caller provided buffer DIGEST which must be large enough to hold the digest of the given algorithm. */ |