[svn] GnuPG - r4385 - trunk/sm
svn author marcus
cvs at cvs.gnupg.org
Mon Dec 18 02:03:08 CET 2006
Author: marcus
Date: 2006-12-18 02:03:07 +0100 (Mon, 18 Dec 2006)
New Revision: 4385
Modified:
trunk/sm/ChangeLog
trunk/sm/fingerprint.c
Log:
2006-12-18 Marcus Brinkmann <marcus at g10code.de>
* fingerprint.c (gpgsm_get_fingerprint): Close MD.
Modified: trunk/sm/ChangeLog
===================================================================
--- trunk/sm/ChangeLog 2006-12-15 04:37:47 UTC (rev 4384)
+++ trunk/sm/ChangeLog 2006-12-18 01:03:07 UTC (rev 4385)
@@ -1,3 +1,7 @@
+2006-12-18 Marcus Brinkmann <marcus at g10code.de>
+
+ * fingerprint.c (gpgsm_get_fingerprint): Close MD.
+
2006-11-24 Werner Koch <wk at g10code.com>
* certdump.c (parse_dn_part): Take '#' as a special character only
Modified: trunk/sm/fingerprint.c
===================================================================
--- trunk/sm/fingerprint.c 2006-12-15 04:37:47 UTC (rev 4384)
+++ trunk/sm/fingerprint.c 2006-12-18 01:03:07 UTC (rev 4385)
@@ -79,6 +79,7 @@
}
gcry_md_final (md);
memcpy (array, gcry_md_read(md, algo), len );
+ gcry_md_close (md);
return array;
}
More information about the Gnupg-commits
mailing list