summaryrefslogtreecommitdiff
path: root/src/stdmem.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-12-21 15:53:17 +0000
committerWerner Koch <wk@gnupg.org>2002-12-21 15:53:17 +0000
commitb8d8105888ada92c992b20caa0065411daa56fc5 (patch)
tree8eef19cd1f282c605800340a72c0bbc643d79932 /src/stdmem.c
parent5184801c117acbdb371810de80ace2d67316510f (diff)
downloadlibgcrypt-b8d8105888ada92c992b20caa0065411daa56fc5.tar.gz
* gcrypt.h: Make use of gcc's pure and malloc attributes
(gcry_md_putc): Use a helper variable to avoid multiple evaluation of H. * g10lib.h, stdmem.h, secmem.h: Use gcc attributes pure and malloc. * stdmem.c (use_m_guard): Don't default to yes.
Diffstat (limited to 'src/stdmem.c')
-rw-r--r--src/stdmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdmem.c b/src/stdmem.c
index b5ddfcce..492f3501 100644
--- a/src/stdmem.c
+++ b/src/stdmem.c
@@ -40,7 +40,7 @@
#endif
-static int use_m_guard = 1;
+static int use_m_guard = 0;
/****************
* Warning: Never use this function after any of the functions