diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-11 06:03:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-11 06:03:30 +0000 |
commit | ee388028714672bc5406b4fddf927a683185587d (patch) | |
tree | 72d8bca675e2925a3ab9c5da9b758f1e25da8412 /test | |
parent | 3c51a1e2343499aee57d01a41a0067176e4508e6 (diff) | |
download | ruby-ee388028714672bc5406b4fddf927a683185587d.tar.gz |
test_ssl.rb: fix ssl option flags tests
* test/openssl/test_ssl.rb (test_setting_twice): ignore fixed
flags. some flags like SSL_OP_NO_SSL_MASK cannot change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/openssl/test_ssl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 4398d7a0c5..5682bf5081 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -30,7 +30,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase ctx.options = 4 assert_equal 4, (ctx.options & OpenSSL::SSL::OP_ALL) ctx.options = OpenSSL::SSL::OP_ALL - assert_equal OpenSSL::SSL::OP_ALL, ctx.options + assert_equal OpenSSL::SSL::OP_ALL, (ctx.options & OpenSSL::SSL::OP_ALL) end def test_options_setting_nil_means_all |