[#OCSP_SINGLERESP_delete_ext]
= OCSP&lowbar;SINGLERESP&lowbar;delete&lowbar;ext
:mrdocs:

Remove and return the SingleResponse extension at index `loc&period;`

== Synopsis

Declared in `&lt;openssl&sol;ocsp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:X509_EXTENSION.adoc[X509&lowbar;EXTENSION]*
OCSP&lowbar;SINGLERESP&lowbar;delete&lowbar;ext(
    xref:OCSP_SINGLERESP.adoc[OCSP&lowbar;SINGLERESP]* x,
    int loc);
----

== Return Value

Detached X509&lowbar;EXTENSION the caller must free, or NULL if `loc` is invalid&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| SingleResponse to update&period;
| *loc*
| Zero&hyphen;based extension index&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
