summaryrefslogtreecommitdiff
path: root/src/stdmem.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-12-05 18:53:06 +0000
committerWerner Koch <wk@gnupg.org>2008-12-05 18:53:06 +0000
commitbd5ca43389e2219b930d67ec51ad688650951e25 (patch)
tree3a7dc8c95a91fc0b7084b0c6199b68f47823ecb9 /src/stdmem.c
parentdb0387be06f205591870e882c8a4ae0e0ebf0846 (diff)
downloadlibgcrypt-bd5ca43389e2219b930d67ec51ad688650951e25.tar.gz
Allow (transient-key) for DSA.
Type fix. Made sure that gcry_free preserves ERRNO.
Diffstat (limited to 'src/stdmem.c')
-rw-r--r--src/stdmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdmem.c b/src/stdmem.c
index 231a541d..bb8adeab 100644
--- a/src/stdmem.c
+++ b/src/stdmem.c
@@ -207,12 +207,12 @@ _gcry_private_check_heap (const void *a)
/*
- * Free a memory block allocated by this opr the secmem module
+ * Free a memory block allocated by this or the secmem module
*/
void
_gcry_private_free (void *a)
{
- byte *p = a;
+ unsigned char *p = a;
if (!p)
return;