diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-18 00:24:49 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-18 00:24:49 +0000 |
commit | 93bc10272734cbbb9197470ca629cc4ea019f6f0 (patch) | |
tree | 8da3e9e4f70125e69a980fdfed0837d106e4c46b /ext/openssl/ossl_x509name.c | |
parent | 7943c0e5e67190da686cdda6f7c26deef56aa630 (diff) |
openssl: sync with upstream repository
Import current master (01b23fa8eee2) of ruby/openssl.git.
----------------------------------------------------------------
Kazuki Yamaguchi (3):
x509name: fix OpenSSL::X509::Name#{cmp,<=>}
Ruby/OpenSSL 2.0.9
Ruby/OpenSSL 2.1.2
nobu (2):
needs openssl/opensslv.h
Remove -Wno-parentheses flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 fd2ec122eb..1ea8400dbb 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); } |