Home
last modified time | relevance | path

Searched refs:cert_file_expire_seconds (Results 1 – 2 of 2) sorted by relevance

/dports/dns/dnscrypt-wrapper/dnscrypt-wrapper-0.4.2/
H A Dcert.c4 cert_build_cert(const uint8_t *crypt_publickey, int cert_file_expire_seconds, in cert_build_cert() argument
30 uint32_t ts_end = ts_begin + cert_file_expire_seconds; in cert_build_cert()
31 if (cert_file_expire_seconds <= 0) { in cert_build_cert()
H A Dmain.c723 int cert_file_expire_seconds = CERT_FILE_EXPIRE_DAYS * 24 * 3600; in main() local
725 if (seconds_from_string(cert_file_expire_days, &cert_file_expire_seconds) != 0) { in main()
730 …LOG_NOTICE, "Generating pre-signed certificate (expire in %d seconds).", cert_file_expire_seconds); in main()
732 cert_build_cert(c.keypairs->crypt_publickey, cert_file_expire_seconds, use_xchacha20); in main()