Home
last modified time | relevance | path

Searched refs:thisupd (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_cl.c250 ASN1_GENERALIZEDTIME **thisupd, in OCSP_single_get0_status() argument
272 if (thisupd != NULL) in OCSP_single_get0_status()
273 *thisupd = single->thisUpdate; in OCSP_single_get0_status()
286 ASN1_GENERALIZEDTIME **thisupd, in OCSP_resp_find_status() argument
296 i = OCSP_single_get0_status(single, reason, revtime, thisupd, nextupd); in OCSP_resp_find_status()
310 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, in OCSP_check_validity() argument
318 if (!ASN1_GENERALIZEDTIME_check(thisupd)) { in OCSP_check_validity()
323 if (X509_cmp_time(thisupd, &t_tmp) > 0) { in OCSP_check_validity()
334 if (X509_cmp_time(thisupd, &t_tmp) < 0) { in OCSP_check_validity()
357 if (ASN1_STRING_cmp(nextupd, thisupd) < 0) { in OCSP_check_validity()
H A Docsp_srv.c88 ASN1_TIME *thisupd, in OCSP_basic_add1_status() argument
104 if (!ASN1_TIME_to_generalizedtime(thisupd, &single->thisUpdate)) in OCSP_basic_add1_status()
/freebsd/crypto/openssl/doc/man3/
H A DOCSP_resp_find_status.pod21 ASN1_GENERALIZEDTIME **thisupd,
29 ASN1_GENERALIZEDTIME **thisupd,
50 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
61 I<*revtime>, I<*thisupd> and I<*nextupd>. The I<*status> value will be one of
81 I<*revtime>, I<*thisupd> and I<*nextupd>.
109 OCSP_check_validity() checks the validity of its I<thisupd> and I<nextupd>
113 the maximum age of I<thisupd> in seconds.
174 OCSP_check_validity() returns 1 if I<thisupd> and I<nextupd> are valid time
175 values and the current time + I<sec> is not before I<thisupd> and,
196 The values written to I<*revtime>, I<*thisupd> and I<*nextupd> by
/freebsd/crypto/openssl/test/
H A Docspapitest.c75 ASN1_TIME *thisupd = ASN1_TIME_set(NULL, time(NULL)); in make_dummy_resp() local
92 || !TEST_ptr(thisupd) in make_dummy_resp()
97 0, NULL, thisupd, nextupd))) in make_dummy_resp()
102 ASN1_TIME_free(thisupd); in make_dummy_resp()
/freebsd/crypto/openssl/apps/
H A Docsp.c1020 ASN1_GENERALIZEDTIME *rev, *thisupd, *nextupd; in print_ocsp_summary() local
1035 &rev, &thisupd, &nextupd)) { in print_ocsp_summary()
1045 if (!OCSP_check_validity(thisupd, nextupd, nsec, maxage)) { in print_ocsp_summary()
1052 ASN1_GENERALIZEDTIME_print(out, thisupd); in print_ocsp_summary()
1082 ASN1_TIME *thisupd = NULL, *nextupd = NULL; in make_ocsp_response() local
1101 thisupd = X509_gmtime_adj(NULL, 0); in make_ocsp_response()
1153 0, NULL, thisupd, nextupd); in make_ocsp_response()
1159 0, NULL, thisupd, nextupd); in make_ocsp_response()
1163 0, NULL, thisupd, nextupd); in make_ocsp_response()
1174 reason, revtm, thisupd, nextupd); in make_ocsp_response()
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dx509.c120 ASN1_GENERALIZEDTIME *revtime, *thisupd, *nextupd; in FuzzerTestOneInput() local
133 OCSP_resp_find_status(bs, id, &status, &reason, &revtime, &thisupd, in FuzzerTestOneInput()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_openssl_ocsp.c345 static int ocsp_resp_valid(ASN1_GENERALIZEDTIME *thisupd, in ocsp_resp_valid() argument
350 if (!ASN1_GENERALIZEDTIME_check(thisupd)) { in ocsp_resp_valid()
358 if (X509_cmp_time(thisupd, &tmp) > 0) { in ocsp_resp_valid()
378 if (ASN1_STRING_cmp(nextupd, thisupd) < 0) { in ocsp_resp_valid()
/freebsd/crypto/openssl/apps/lib/
H A Dcmp_mock_srv.c465 ASN1_TIME *thisupd = NULL; in check_client_crl() local
475 if (!OSSL_CMP_CRLSTATUS_get0(crlstatus, &dpn, &issuer, &thisupd)) in check_client_crl()
494 return thisupd == NULL in check_client_crl()
495 || ASN1_TIME_compare(thisupd, X509_CRL_get0_lastUpdate(crl)) < 0; in check_client_crl()
/freebsd/crypto/openssl/include/openssl/
H A Docsp.h.in252 ASN1_GENERALIZEDTIME **thisupd,
257 ASN1_GENERALIZEDTIME **thisupd,
259 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
283 ASN1_TIME *thisupd,
H A Docsp.h348 ASN1_GENERALIZEDTIME **thisupd,
353 ASN1_GENERALIZEDTIME **thisupd,
355 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
379 ASN1_TIME *thisupd,