summaryrefslogtreecommitdiff
path: root/src/gcrypt.h.in
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-10-23 22:51:40 +0200
committerWerner Koch <wk@gnupg.org>2018-10-23 22:51:40 +0200
commit9f2c7ec4d8b07e82663ad084c90c016d3c3b80c2 (patch)
tree8254fa458fd30479b19f42e819d967f7edfba7cb /src/gcrypt.h.in
parent282f238f7788267768e823c0976aff15aeaff103 (diff)
downloadlibgcrypt-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.in2
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. */