Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports from trunk #18

Merged
merged 4 commits into from
Jul 22, 2015
Merged

Backports from trunk #18

merged 4 commits into from
Jul 22, 2015

Conversation

tenderlove
Copy link
Member

This ports the commits I made on trunk to the gem. Note that 64b4351 isn't currently on trunk. I could add it there, but it's up to you!

tenderlove and others added 4 commits July 22, 2015 14:30
* ext/openssl/extconf.rb: detect ALPN support in OpenSSL

* test/openssl/test_ssl.rb: test for ALPN

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/openssl/test_pair.rb: test for ECDH callback support

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
OpenSSL [copies the string returned by the pointe](https://github.com/openssl/openssl/blob/9f040d6decca7930e978784c917f731e5c45e8f0/ssl/t1_lib.c#L1800-1809), so it should be safe to just return a pointer to the string object and not set an instance variable on the already frozen object.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Since the gem uses test/unit that *isn't* based on minitest, the
`MiniTest::Assertion` class isn't defined.  This commit defines that
constant so that the tests will work under both MRI's test suite (that
is based on minitest) and the Gem test suite (that uses test/unit).
@zzak zzak merged commit 64b4351 into ruby:master Jul 22, 2015
@zzak zzak mentioned this pull request Aug 29, 2016
3 tasks
zzak pushed a commit that referenced this pull request Aug 29, 2016
zzak pushed a commit that referenced this pull request Aug 29, 2016
This reverts commit 59b22d4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants