[#OCSP_RESPID_match]
= OCSP&lowbar;RESPID&lowbar;match
:mrdocs:

Test whether a ResponderID matches `cert` by name or key hash (default libctx)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OCSP&lowbar;RESPID&lowbar;match(
    xref:OCSP_RESPID.adoc[OCSP&lowbar;RESPID]* respid,
    xref:X509.adoc[X509]* cert);
----

== Return Value

1 if `respid` matches `cert,` or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *respid*
| ResponderID to compare&period;
| *cert*
| Candidate responder certificate&period;
|===


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