Lines Matching defs:ts_req
445 TS_REQ *ts_req = NULL;
455 if ((ts_req = TS_REQ_new()) == NULL)
457 if (!TS_REQ_set_version(ts_req, 1))
474 if (!TS_REQ_set_msg_imprint(ts_req, msg_imprint))
478 if (policy_obj && !TS_REQ_set_policy_id(ts_req, policy_obj))
484 if (nonce_asn1 && !TS_REQ_set_nonce(ts_req, nonce_asn1))
486 if (!TS_REQ_set_cert_req(ts_req, cert))
492 TS_REQ_free(ts_req);
493 ts_req = NULL;
502 return ts_req;