]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Logging: Code review
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 20 May 2021 18:26:21 +0000 (13:26 -0500)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 20 May 2021 23:52:44 +0000 (18:52 -0500)
commitd27a46a7fd816397c2d1fa03d7c3f98d46772725
treea2cdf0f3b6be4f7546a63668cac1d1191b44f16c
parent303180f89bcf3d4817e98af5942d2eefb002f14e
Logging: Code review

Two bugfixes:

1. (warning) The libcrypto error stack trace was always showing empty.
   This was because of a bad counter.
2. (critical) Normal stack traces were only being printed in the
   standard streams, never on syslog.
   This is probably the reason why we don't have a proper error message
   on #49. It's probably a segmentation fault.

Also a whole bunch of cleanup. The logging module had a bit of a
duplicate code problem.
14 files changed:
src/common.c
src/config.c
src/debug.c
src/log.c
src/log.h
src/object/certificate.c
src/object/crl.c
src/object/name.c
src/object/tal.c
src/reqs_errors.c
src/rtr/db/vrps.c
src/rtr/pdu.c
src/rtr/pdu_sender.c
src/rtr/rtr.c