openssl compat: match openssl status cb behaviour for stapling
Description
On the server side, OpenSSL offloads the creation and the verification of the ocsp response to staple to the user application. This commit moves the invocation point of the StatusCB so that wolfSSL doesn't try to verify the response and/or the server certificate.
Fixes zd#18703
retest this please
fix confirmed by the reporter
please wait before merging
@rizlik please resolve merge conflicts. Assigning to you only as you said: "please wait before merging"
indeed, we need some rework in OCSP_basic_verify as well before merging this. I'm closing it for now