diff options
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; } |