Lines Matching defs:tsaReqLength
493 static OSStatus sendTSARequestWithXPC(const unsigned char *tsaReq, size_t tsaReqLength, const unsigned char *tsaURL, unsigned char **tsaResp, size_t *tsaRespLength)
515 xpc_object_t tsaReqData = xpc_data_create(tsaReq, tsaReqLength);
737 size_t tsaReqLength = 0;
770 tsaReqLength = CFDataGetLength(cfreq);
774 tsaWriteFileX("/tmp/tsareq.req", tsaReq, tsaReqLength);
792 tsaDebug("[TSA] Forcing bad TS Request by truncating length from %ld to %ld\n", tsaReqLength, (tsaReqLength-4));
793 tsaReqLength -= 4;
806 tsaDebug("calling sendTSARequestWithXPC with %ld bytes of request\n", tsaReqLength);
808 require_noerr(result = sendTSARequestWithXPC(tsaReq, tsaReqLength, tsaURL, &tsaResp, &tsaRespLength), xit);