diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-11-12 22:22:08 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2017-01-06 10:30:37 +0100 |
commit | 4c4ff26fe0bfd2f94a79fc167b1718a872405faf (patch) | |
tree | ee8339530b374b804d9ef2d97154e41e75eb8a9d /daemon/tls.h | |
parent | Merge branch 'hints-empty-crash' into 'master' (diff) | |
download | knot-resolver-4c4ff26fe0bfd2f94a79fc167b1718a872405faf.tar.xz knot-resolver-4c4ff26fe0bfd2f94a79fc167b1718a872405faf.zip |
Record expiration date of our certificate.
This can be useful for scheduling checks in the future, for logging
when we're using an expired cert, requesting a new cert, refreshing an
ephemeral cert, etc.
Diffstat (limited to 'daemon/tls.h')
-rw-r--r-- | daemon/tls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/tls.h b/daemon/tls.h index 21671d4b..69c46bee 100644 --- a/daemon/tls.h +++ b/daemon/tls.h @@ -30,6 +30,7 @@ struct tls_credentials { char *tls_cert; char *tls_key; gnutls_certificate_credentials_t credentials; + time_t valid_until; }; /*! Toggle verbose logging from TLS context. */ |