/openbsd/lib/libcrypto/ocsp/ |
H A D | ocsp_cl.c | 335 ASN1_GENERALIZEDTIME **nextupd) in OCSP_single_get0_status() argument 359 if (nextupd) in OCSP_single_get0_status() 360 *nextupd = single->nextUpdate; in OCSP_single_get0_status() 371 ASN1_GENERALIZEDTIME **nextupd) in OCSP_resp_find_status() argument 381 i = OCSP_single_get0_status(single, reason, revtime, thisupd, nextupd); in OCSP_resp_find_status() 396 ASN1_GENERALIZEDTIME *nextupd, long nsec, long maxsec) in OCSP_check_validity() argument 432 if (nextupd == NULL) in OCSP_check_validity() 436 if (ASN1_time_parse(nextupd->data, nextupd->length, &tm_next, in OCSP_check_validity()
|
H A D | ocsp_srv.c | 151 int reason, ASN1_TIME *revtime, ASN1_TIME *thisupd, ASN1_TIME *nextupd) in OCSP_basic_add1_status() argument 166 if (nextupd && in OCSP_basic_add1_status() 167 !ASN1_TIME_to_generalizedtime(nextupd, &single->nextUpdate)) in OCSP_basic_add1_status()
|
H A D | ocsp.h | 239 ASN1_GENERALIZEDTIME **nextupd); 242 ASN1_GENERALIZEDTIME **thisupd, ASN1_GENERALIZEDTIME **nextupd); 244 ASN1_GENERALIZEDTIME *nextupd, long sec, long maxsec); 265 ASN1_TIME *nextupd);
|
/openbsd/lib/libtls/ |
H A D | tls_ocsp.c | 80 ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd) in tls_ocsp_fill_info() argument 115 if (nextupd != NULL && in tls_ocsp_fill_info() 116 tls_ocsp_asn1_parse_time(ctx, nextupd, &info->next_update) != 0) { in tls_ocsp_fill_info() 214 ASN1_GENERALIZEDTIME *revtime = NULL, *thisupd = NULL, *nextupd = NULL; in tls_ocsp_verify_response() local 257 &revtime, &thisupd, &nextupd) != 1) { in tls_ocsp_verify_response() 263 if (OCSP_check_validity(thisupd, nextupd, JITTER_SEC, in tls_ocsp_verify_response() 271 crl_reason, revtime, thisupd, nextupd) != 0) in tls_ocsp_verify_response()
|
/openbsd/usr.bin/openssl/ |
H A D | ocsp.c | 1196 ASN1_GENERALIZEDTIME *rev, *thisupd, *nextupd; in print_ocsp_summary() local 1208 &rev, &thisupd, &nextupd)) { in print_ocsp_summary() 1216 if (!OCSP_check_validity(thisupd, nextupd, nsec, maxage)) { in print_ocsp_summary() 1226 if (nextupd) { in print_ocsp_summary() 1228 ASN1_GENERALIZEDTIME_print(out, nextupd); in print_ocsp_summary() 1252 ASN1_TIME *thisupd = NULL, *nextupd = NULL; in make_ocsp_response() local 1294 thisupd, nextupd); in make_ocsp_response() 1302 thisupd, nextupd); in make_ocsp_response() 1306 thisupd, nextupd); in make_ocsp_response() 1319 thisupd, nextupd); in make_ocsp_response() [all …]
|
/openbsd/sbin/iked/ |
H A D | ocsp.c | 517 ASN1_GENERALIZEDTIME *rev, *thisupd, *nextupd; in ocsp_parse_response() local 569 &rev, &thisupd, &nextupd)) { in ocsp_parse_response() 574 !OCSP_check_validity(thisupd, nextupd, env->sc_ocsp_tolerate, in ocsp_parse_response()
|
/openbsd/usr.sbin/ocspcheck/ |
H A D | ocspcheck.c | 407 ASN1_GENERALIZEDTIME *revtime = NULL, *thisupd = NULL, *nextupd = NULL; in validate_response() local 465 &revtime, &thisupd, &nextupd) != 1) { in validate_response() 488 if ((next_t = parse_ocsp_time(nextupd)) == -1) { in validate_response()
|