OCSP_REQUEST *OCSP_request_new(X509_NAME* name, STACK_OF(X509_EXTENSION) *extensions)
OCSP_REQUEST *OCSP_request_new(X509_NAME* name)
OCSP_REQUEST *OCSP_request_new(X509_NAME* name,			       STACK_OF(X509_EXTENSION) *extensions)        {	OCSP_REQUEST *req = NULL;	if ((req = OCSP_REQUEST_new()) == NULL) goto err;	if (name) /* optional */	        {		if (!(req->tbsRequest->requestorName=GENERAL_NAME_new()))		        goto err;		req->tbsRequest->requestorName->type = GEN_DIRNAME;		req->tbsRequest->requestorName->d.dirn = X509_NAME_dup(name);		}	if (!(req->tbsRequest->requestList = sk_OCSP_ONEREQ_new(NULL))) goto err;	if (extensions && 	    (!(req->tbsRequest->requestExtensions = ext_dup(extensions))))	        goto err;	return req;err:	if (req) OCSP_REQUEST_free(req);	return NULL;	}