summaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.c')
-rw-r--r--src/global.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/global.c b/src/global.c
index 7cf40e4a..956043c4 100644
--- a/src/global.c
+++ b/src/global.c
@@ -523,7 +523,7 @@ _gcry_vcontrol (enum gcry_ctl_cmds cmd, va_list arg_ptr)
switch (cmd)
{
case GCRYCTL_ENABLE_M_GUARD:
- _gcry_private_enable_m_guard ();
+ rc = GPG_ERR_NOT_SUPPORTED;
break;
case GCRYCTL_ENABLE_QUICK_RANDOM:
@@ -1043,8 +1043,6 @@ _gcry_check_heap( const void *a )
#if 0
if( some_handler )
some_handler(a)
- else
- _gcry_private_check_heap(a)
#endif
}