aboutsummaryrefslogtreecommitdiffstats
path: root/tools/no-libgcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/no-libgcrypt.c')
-rw-r--r--tools/no-libgcrypt.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/no-libgcrypt.c b/tools/no-libgcrypt.c
index 966ff162d..c9122e755 100644
--- a/tools/no-libgcrypt.c
+++ b/tools/no-libgcrypt.c
@@ -102,3 +102,12 @@ gcry_free (void *a)
if (a)
free (a);
}
+
+
+/* We need this dummy because exechelp.c uses gcry_control to
+ terminate the secure memeory. */
+gcry_error_t
+gcry_control (enum gcry_ctl_cmds CMD, ...)
+{
+ return 0;
+}