diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2018-10-17 17:33:17 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2018-10-17 17:33:17 +0900 |
commit | 1c8eb3065fe0b4555fc99d6f6c56e91f71637483 (patch) | |
tree | 53be8605cb1fe39df9da7ef49ffa387c44e92965 /ext/openssl/ossl_x509name.c | |
parent | ce4022d4502fa6896db762403213d3267593446d (diff) | |
parent | 1b7e5e49265a88faa30791f8d677ae0a3b4c54f6 (diff) | |
download | ruby-openssl-1c8eb3065fe0b4555fc99d6f6c56e91f71637483.tar.gz |
Merge branch 'maint-2.0' into maint
* maint-2.0:
Ruby/OpenSSL 2.0.9
needs openssl/opensslv.h
x509name: fix OpenSSL::X509::Name#{cmp,<=>}
Diffstat (limited to 'ext/openssl/ossl_x509name.c')
-rw-r--r-- | ext/openssl/ossl_x509name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_x509name.c b/ext/openssl/ossl_x509name.c index 5869d633..0053f2e3 100644 --- a/ext/openssl/ossl_x509name.c +++ b/ext/openssl/ossl_x509name.c @@ -400,7 +400,7 @@ ossl_x509name_cmp(VALUE self, VALUE other) 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); } |