From b89d98e3353f6101bc256476c0269f48a92d3f56 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 20 Apr 2007 16:59:37 +0000 Subject: Improved logging for error orginating from libgcrypt. --- common/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/util.h') diff --git a/common/util.h b/common/util.h index 2cf6e6cbe..1fc4d2a1e 100644 --- a/common/util.h +++ b/common/util.h @@ -171,6 +171,10 @@ void gnupg_rl_initialize (void); /*-- miscellaneous.c --*/ +/* This function is called at startup to tell libgcrypt to use our own + logging subsystem. */ +void setup_libgcrypt_logging (void); + /* Same as asprintf but return an allocated buffer suitable to be freed using xfree. This function simply dies on memory failure, thus no extra check is required. */ -- cgit v1.2.3