Commit Graph
6 Commits
Author SHA1 Message Date
Thomas Jarosch f0a489f7e2 credential-manager: Check certificate expiry also for trusted self-signed certs
This serves as a defense-in-depth measure against forgotten
configs/credentials.
2026-05-22 14:33:28 +02:00
Thomas Jarosch 0d17838b99 credential-manager: Check expiry also for last cert in incomplete trust chain
While the validity of a pre-trusted certificate for which an issuer is
found is enforced via `check_certificate()`, the validity of such a
certificate in an incomplete trust chain, or rather that of the last
certificate in such a chain, was not enforced.  This fixes that
inconsistency.
2026-05-22 14:33:28 +02:00
Thomas Jarosch 00b9e598f3 Fix copy'n'paste error in libhydra's netlink interface
Detected by cppcheck.
2011-11-21 09:00:39 +01:00
Thomas Jarosch 88d180c7d8 Fix file descriptor leak
Credit goes to "cppcheck".

Signed-off-by: Thomas Jarosch <[email protected]>
2011-08-29 09:10:28 +02:00
Thomas Jarosch f50ee82573 Remove redundant assignment
Signed-off-by: Thomas Jarosch <[email protected]>
2011-08-29 09:10:28 +02:00
Thomas Jarosch 848567fdf2 Fix file descriptor leak on error
Credit goes to cppcheck.

Signed-off-by: Thomas Jarosch <[email protected]>
2011-08-29 09:10:28 +02:00