method

cmp

v1_9_1_378 - Show latest stable - Class: OpenSSL::X509::Name
cmp(p1)
public

No documentation available.

static VALUE
ossl_x509name_cmp(VALUE self, VALUE other)
{
    int result;

    result = ossl_x509name_cmp0(self, other);
    if (result < 0) return INT2FIX(-1);
    if (result > 1) return INT2FIX(1);

    return INT2FIX(0);
}