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:
parent
3ee9186173
commit
4a1e498059
|
@ -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)};
|
||||
|
|
Loading…
Reference in a new issue