diff options
author | Marcus Brinkmann <mb@g10code.com> | 2006-12-18 02:03:07 +0100 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2006-12-18 02:03:07 +0100 |
commit | f1f975577ea11db080ce28fd8ac28f16dadb9eba (patch) | |
tree | c850df9f785b09a8f9ab9dc948c6a0eb91307c61 /sm/fingerprint.c | |
parent | Some build fixes for platforms like OSX where we use the built-in libintl. (diff) | |
download | gnupg2-f1f975577ea11db080ce28fd8ac28f16dadb9eba.tar.xz gnupg2-f1f975577ea11db080ce28fd8ac28f16dadb9eba.zip |
2006-12-18 Marcus Brinkmann <marcus@g10code.de>
* fingerprint.c (gpgsm_get_fingerprint): Close MD.
Diffstat (limited to 'sm/fingerprint.c')
-rw-r--r-- | sm/fingerprint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/fingerprint.c b/sm/fingerprint.c index d6a3900f0..b726af36a 100644 --- a/sm/fingerprint.c +++ b/sm/fingerprint.c @@ -79,6 +79,7 @@ gpgsm_get_fingerprint (ksba_cert_t cert, int algo, } gcry_md_final (md); memcpy (array, gcry_md_read(md, algo), len ); + gcry_md_close (md); return array; } |