Copy the nonce extension from an OCSP request into a basic response.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_copy_nonce(
    OCSP_BASICRESP* resp,
    OCSP_REQUEST* req);

Return Value

1 if a nonce was copied, 2 if the request had no nonce, or 0 on error.

Parameters

Name

Description

resp

Basic response receiving the nonce.

req

Request whose nonce extension is copied when present.

Created with MrDocs