diff options
author | Werner Koch <[email protected]> | 2007-04-20 16:59:37 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-04-20 16:59:37 +0000 |
commit | b89d98e3353f6101bc256476c0269f48a92d3f56 (patch) | |
tree | 6da6c9dd9e7b78f97ae6e89e54e6603f314cc644 /common/util.h | |
parent | * certcheck.c (do_encode_md): Add arg PKEY. Add support for DSA2 (diff) | |
download | gnupg-b89d98e3353f6101bc256476c0269f48a92d3f56.tar.gz gnupg-b89d98e3353f6101bc256476c0269f48a92d3f56.zip |
Improved logging for error orginating from libgcrypt.
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |