Home GnuPG

In debug mode write some infos about the certificates.

Description

In debug mode write some infos about the certificates.

* src/debug.c (_ntbtls_debug_msg): Add hack to not print the final LF.
(_ntbtls_debug_crt): New.
* src/util.h (debug_crt): New macro.
* src/x509.c (x509_log_serial, x509_log_time): New.
(_ntbtls_x509_log_cert): New.
* src/protocol-cli.c (read_server_hello): Tweak debug levels.
* src/protocol.c (_ntbtls_read_certificate): Call debug_crt.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 27 2017, 5:06 PM
Parents
rTaf472e2554bf: configure: Add check for sys/socket.
Branches
Unknown
Tags
Unknown