Always having requestList and requestExtensions causes additional nodes in the OCSP request, regardless of whether a value was added to it. This leads to a malformed OCSP request. For example, the Apple OCSP responder does not respond to requests created with this library anymore. The solution is to remove the empty arrays, since they will be created automatically when a value is added to it.
Right now, the OCSP request always contains 3 elements:
Always having
requestList
andrequestExtensions
causes additional nodes in the OCSP request, regardless of whether a value was added to it. This leads to a malformed OCSP request. For example, the Apple OCSP responder does not respond to requests created with this library anymore. The solution is to remove the empty arrays, since they will be created automatically when a value is added to it.