method
cmp
v1_9_3_392 -
Show latest stable
- Class:
OpenSSL::OCSP::CertificateId
cmp(p1)public
No documentation available.
static VALUE
ossl_ocspcid_cmp(VALUE self, VALUE other)
{
OCSP_CERTID *id, *id2;
int result;
GetOCSPCertId(self, id);
SafeGetOCSPCertId(other, id2);
result = OCSP_id_cmp(id, id2);
return (result == 0) ? Qtrue : Qfalse;
}