[#OCSP_check_nonce] = OCSP_check_nonce :mrdocs: Compare OCSP nonce extensions between a request and a basic response. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_check_nonce( xref:OCSP_REQUEST.adoc[OCSP_REQUEST]* req, xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* bs); ---- == Return Value 1 if nonces match, 2 if neither has a nonce, 3 if only the response has one, 0 if present but unequal, or ‐1 if only the request has a nonce. == Parameters [cols="1,4"] |=== | Name| Description | *req* | OCSP request that may contain a nonce. | *bs* | Basic response that may contain a matching nonce. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#