Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/
H A Dauth-options.c390 uint64_t valid_before; in sshauthopt_parse() local
450 valid_before == 0) { in sshauthopt_parse()
456 if (ret->valid_before == 0 || in sshauthopt_parse()
457 valid_before < ret->valid_before) in sshauthopt_parse()
458 ret->valid_before = valid_before; in sshauthopt_parse()
644 if (primary->valid_before != 0) in sshauthopt_merge()
645 ret->valid_before = primary->valid_before; in sshauthopt_merge()
646 if (additional->valid_before != 0 && in sshauthopt_merge()
647 additional->valid_before < ret->valid_before) in sshauthopt_merge()
648 ret->valid_before = additional->valid_before; in sshauthopt_merge()
[all …]
H A Dauth.c1028 opts->valid_before == 0 ? "" : "expires", in auth_log_authopts()
1054 if (opts->valid_before != 0) { in auth_log_authopts()
1055 format_absolute_time(opts->valid_before, buf, sizeof(buf)); in auth_log_authopts()
1125 if (opts->valid_before && now > 0 && in auth_authorise_keyopts()
1126 opts->valid_before < (uint64_t)now) { in auth_authorise_keyopts()
1127 format_absolute_time(opts->valid_before, buf, sizeof(buf)); in auth_authorise_keyopts()
H A Dauth-options.h41 uint64_t valid_before; member
H A Dsshkey.c1703 to->valid_before = from->valid_before; in sshkey_cert_copy()
1891 (ret = sshbuf_get_u64(b, &key->cert->valid_before)) != 0 || in cert_parse()
2589 (ret = sshbuf_put_u64(cert, k->cert->valid_before)) != 0 || in sshkey_certify_custom()
2661 if ((u_int64_t)now >= k->cert->valid_before) { in sshkey_cert_check_authority()
2696 cert->valid_before == 0xffffffffffffffffULL) in sshkey_format_cert_validity()
2706 if (cert->valid_before != 0xffffffffffffffffULL) { in sshkey_format_cert_validity()
2708 tt = cert->valid_before > INT_MAX ? in sshkey_format_cert_validity()
2709 INT_MAX : cert->valid_before; in sshkey_format_cert_validity()
2716 else if (cert->valid_before == 0xffffffffffffffffULL) in sshkey_format_cert_validity()
H A Dsshkey.h102 u_int64_t valid_after, valid_before; member
H A Dssh-keygen.c1766 public->cert->valid_before = cert_valid_to; in do_ca_sign()
/freebsd-12.1/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c413 k1->cert->valid_before = (u_int64_t)-1; in sshkey_tests()