summaryrefslogtreecommitdiffstats
path: root/tools/no-libgcrypt.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-08-29 11:51:37 +0200
committerWerner Koch <wk@gnupg.org>2007-08-29 11:51:37 +0200
commitb13587ef167d58f960270fbcef674d8c919ba8dc (patch)
treef8ec6df5208e0f6dc50941d2f833ee2b3803e7ba /tools/no-libgcrypt.c
parentAdd more passphrase policy rules. (diff)
downloadgnupg2-b13587ef167d58f960270fbcef674d8c919ba8dc.tar.xz
gnupg2-b13587ef167d58f960270fbcef674d8c919ba8dc.zip
New command --check-programs for gpgconf.
Diffstat (limited to '')
-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;
+}