0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 14:38:57 +02:00

ircd::openssl: Increase default generated certificate duration value.

This commit is contained in:
Jason Volk 2018-08-31 21:53:35 -07:00
parent 3ee9186173
commit 4a1e498059

View file

@ -303,7 +303,7 @@ ircd::openssl::append_entries(X509 &cert,
const long value
{
opts.get<long>("notAfter", 0)?:
60 * 60 * 24 * opts.get<long>("days", 7L)
60 * 60 * 24 * opts.get<long>("days", 60L)
};
ASN1_TIME *const notAfter{X509_get_notAfter(&cert)};