Home GnuPG

Divert log functions to the gpgrt log functions.

Description

Divert log functions to the gpgrt log functions.

* src/misc.c (my_gpgrt_post_fatal_handler): New.
(_gcry_set_gpgrt_post_log_handler): New.
(map_log_level): New.
(_gcry_logv): Use gcrypt log function unless a handler has been
installed.
* src/global.c (global_init): Install post log handler.
* src/gcrypt.h.in (gcry_set_log_handler): Deprecate.

Details

Provenance
wernerAuthored on Tue, Apr 23, 10:01 AM
Parents
rC9c65260f915f: cipher:kem:ecc: Support brainpoolP256r1 and brainpoolP384r1.
Branches
Unknown
Tags
Unknown