From 56341c289cabffb7f468f7a3ee706626a9106a96 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 28 Feb 2002 11:07:59 +0000 Subject: Changes needed to support smartcards. Well, only _support_. There is no real code yet. --- scd/scdaemon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scd/scdaemon.c') diff --git a/scd/scdaemon.c b/scd/scdaemon.c index d217b0020..92bccec9e 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -34,6 +34,7 @@ #include #include +#include #include #define JNLIB_NEED_LOG_LOGV @@ -242,6 +243,7 @@ main (int argc, char **argv ) "1.1.5", gcry_check_version (NULL) ); } + ksba_set_malloc_hooks (gcry_malloc, gcry_realloc, gcry_free); assuan_set_malloc_hooks (gcry_malloc, gcry_realloc, gcry_free); gcry_set_log_handler (my_gcry_logger, NULL); gcry_control (GCRYCTL_USE_SECURE_RNDPOOL); -- cgit v1.2.3