certificate: check if certificate is still valid
commit40bd1ee6367c37dd3811e08bc7f8aefe7d61ec4c
authorStefan Becker <chemobejk@gmail.com>
Sat, 12 Nov 2011 21:05:46 +0000 (12 23:05 +0200)
committerStefan Becker <chemobejk@gmail.com>
Sat, 12 Nov 2011 21:05:46 +0000 (12 23:05 +0200)
tree0625dc4f56570506a7df9f311144ef92ffa2c39b
parent6729a36bb165ae62641213069772a0ffa3a3ae2c
certificate: check if certificate is still valid

After we looked up the certificate for a target we check if the
certificate is still valid for another hour. If it is not it is better
to request a new one.
src/core/sipe-cert-crypto-nss.c
src/core/sipe-cert-crypto.h
src/core/sipe-certificate.c