Home
last modified time | relevance | path

Searched refs:valid_before (Results 1 – 7 of 7) sorted by relevance

/openssh-portable/
H A Dauth-options.c326 uint64_t valid_before; in sshauthopt_parse() local
390 valid_before == 0) { in sshauthopt_parse()
396 if (ret->valid_before == 0 || in sshauthopt_parse()
397 valid_before < ret->valid_before) in sshauthopt_parse()
398 ret->valid_before = valid_before; in sshauthopt_parse()
591 if (primary->valid_before != 0) in sshauthopt_merge()
592 ret->valid_before = primary->valid_before; in sshauthopt_merge()
593 if (additional->valid_before != 0 && in sshauthopt_merge()
594 additional->valid_before < ret->valid_before) in sshauthopt_merge()
595 ret->valid_before = additional->valid_before; in sshauthopt_merge()
[all …]
H A Dauth-options.h44 uint64_t valid_before; member
H A Dauth.c864 opts->valid_before == 0 ? "" : "expires", in auth_log_authopts()
892 if (opts->valid_before != 0) { in auth_log_authopts()
893 format_absolute_time(opts->valid_before, buf, sizeof(buf)); in auth_log_authopts()
963 if (opts->valid_before && now > 0 && in auth_authorise_keyopts()
964 opts->valid_before < (uint64_t)now) { in auth_authorise_keyopts()
965 format_absolute_time(opts->valid_before, buf, sizeof(buf)); in auth_authorise_keyopts()
H A Dsshkey.h117 u_int64_t valid_after, valid_before; member
H A Dsshkey.c1792 to->valid_before = from->valid_before; in sshkey_cert_copy()
2215 (ret = sshbuf_get_u64(b, &key->cert->valid_before)) != 0 || in cert_parse()
3021 (ret = sshbuf_put_u64(cert, k->cert->valid_before)) != 0 || in sshkey_certify_custom()
3111 if ((u_int64_t)now >= k->cert->valid_before) { in sshkey_cert_check_authority()
3174 cert->valid_before == 0xffffffffffffffffULL) in sshkey_format_cert_validity()
3184 if (cert->valid_before != 0xffffffffffffffffULL) { in sshkey_format_cert_validity()
3186 tt = cert->valid_before > INT_MAX ? in sshkey_format_cert_validity()
3187 INT_MAX : cert->valid_before; in sshkey_format_cert_validity()
3194 else if (cert->valid_before == 0xffffffffffffffffULL) in sshkey_format_cert_validity()
H A Dssh-keygen.c1836 public->cert->valid_before = cert_valid_to; in do_ca_sign()
/openssh-portable/regress/unittests/sshkey/
H A Dtest_sshkey.c429 k1->cert->valid_before = (u_int64_t)-1; in sshkey_tests()