Add an OCSP nonce extension to a request.
Declared in <openssl/ocsp.h>
int
OCSP_request_add1_nonce(
OCSP_REQUEST* req,
unsigned char* val,
int len);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| req | OCSP request to update. |
| val | Nonce bytes to copy, or NULL to generate a random nonce of length len (or a default length when len <= 0). |
| len | Length of val, or desired generated length when val is NULL. |