[#OCSP_ONEREQ_add1_ext_i2d] = OCSP_ONEREQ_add1_ext_i2d :mrdocs: Encode `value` as a single‐request extension of type `nid` and append it. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_ONEREQ_add1_ext_i2d( xref:OCSP_ONEREQ.adoc[OCSP_ONEREQ]* x, int nid, void* value, int crit, unsigned long flags); ---- == Return Value 1 on success, 0 on error, or ‐1 on a fatal error. == Parameters [cols="1,4"] |=== | Name| Description | *x* | Single OCSP request entry to update. | *nid* | NID of the extension type to add. | *value* | Native extension structure encoded via i2d. | *crit* | Nonzero to mark the extension critical. | *flags* | X509V3_ADD_* flags controlling replacement behaviour. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#