Copy the nonce extension from an OCSP request into a basic response.
Declared in <openssl/ocsp.h>
int
OCSP_copy_nonce(
OCSP_BASICRESP* resp,
OCSP_REQUEST* req);
1 if a nonce was copied, 2 if the request had no nonce, or 0 on error.
| Name | Description |
|---|---|
| resp | Basic response receiving the nonce. |
| req | Request whose nonce extension is copied when present. |