--- trunk/ext/openssl/ossl_x509name.c 2018/10/17 15:42:34 65138 +++ trunk/ext/openssl/ossl_x509name.c 2018/10/18 00:24:49 65139 @@ -400,7 +400,7 @@ result = ossl_x509name_cmp0(self, other); if (result < 0) return INT2FIX(-1); - if (result > 1) return INT2FIX(1); + if (result > 0) return INT2FIX(1); return INT2FIX(0); }