summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-02-10 09:44:41 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-02-10 09:44:41 +0900
commitf98ca6aa34ccdbbaf94f93ae30beafe400303c97 (patch)
tree1e4c6b251a57545c5e3b06425332a23d72de255d /doc
parent90f41a1898e421c04080d35d7fea98ee18e74865 (diff)
downloadlibgcrypt-f98ca6aa34ccdbbaf94f93ae30beafe400303c97.tar.gz
Remove the built-in memory guard support.
* configure.ac (--enable-m-guard): Remove. * src/global.c (_gcry_vcontrol): Return GPG_ERR_NOT_SUPPORTED for GCRYCTL_ENABLE_M_GUARD. * src/stdmem.c (use_m_guard, _gcry_private_enable_m_guard): Remove. (_gcry_private_malloc): Remove the code path with use_m_guard==1. (_gcry_private_malloc_secure): Likewise. (_gcry_private_realloc, _gcry_private_free): Likewise. (_gcry_private_check_heap): Remove. * src/stdmem.h: Remove declarations for memory guard functions. -- GnuPG-bug-id: T5822 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/gcrypt.texi8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index 92eb5024..25d2f951 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -652,12 +652,8 @@ arguments can or have to be provided.
@table @code
@item GCRYCTL_ENABLE_M_GUARD; Arguments: none
-This command enables the built-in memory guard. It must not be used
-to activate the memory guard after the memory management has already
-been used; therefore it can ONLY be used before
-@code{gcry_check_version}. Note that the memory guard is NOT used
-when the user of the library has set his own memory management
-callbacks.
+This command was to enable the built-in memory guard, but not supported
+any more.
@item GCRYCTL_ENABLE_QUICK_RANDOM; Arguments: none
This command inhibits the use the very secure random quality level