[#OCSP_copy_nonce] = OCSP_copy_nonce :mrdocs: Copy the nonce extension from an OCSP request into a basic response. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_copy_nonce( xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* resp, xref:OCSP_REQUEST.adoc[OCSP_REQUEST]* req); ---- == Return Value 1 if a nonce was copied, 2 if the request had no nonce, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *resp* | Basic response receiving the nonce. | *req* | Request whose nonce extension is copied when present. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#