ruby-changes:39141
From: zzak <ko1@a...>
Date: Mon, 13 Jul 2015 01:41:49 +0900 (JST)
Subject: [ruby-changes:39141] zzak:r51222 (trunk): * ext/openssl/ossl.c: [DOC] Backport ruby/openssl@dbb3fdb [Bug #11345]
zzak 2015-07-13 01:41:32 +0900 (Mon, 13 Jul 2015) New Revision: 51222 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51222 Log: * ext/openssl/ossl.c: [DOC] Backport ruby/openssl@dbb3fdb [Bug #11345] Thanks to Tomoya Chiba for the report and help with patch. Modified files: trunk/ChangeLog trunk/ext/openssl/ossl.c Index: ChangeLog =================================================================== --- ChangeLog (revision 51221) +++ ChangeLog (revision 51222) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Jul 13 01:37:27 2015 Zachary Scott <zzak@r...> + + * ext/openssl/ossl.c: [DOC] Backport ruby/openssl@dbb3fdb [Bug #11345] + Thanks to Tomoya Chiba for the report and help with patch. + Sun Jul 12 09:20:02 2015 Shota Fukumori <her@s...> * ext/socket/basicsocket.c: [DOC] typo (Errno::AGAIN -> Errno::EAGAIN) Index: ext/openssl/ossl.c =================================================================== --- ext/openssl/ossl.c (revision 51221) +++ ext/openssl/ossl.c (revision 51222) @@ -556,6 +556,20 @@ static void Init_ossl_locks(void) https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl.c#L556 * OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the * OpenSSL[http://www.openssl.org/] library. * + * = Install + * + * OpenSSL comes bundled with the Standard Library of Ruby. + * + * This means the OpenSSL extension is compiled with Ruby and packaged on + * build. During compile time, Ruby will need to link against the OpenSSL + * library on your system. However, you cannot use openssl provided by Apple to + * build standard library openssl. + * + * If you use OSX, you should install another openssl and run ```./configure + * --with-openssl-dir=/path/to/another-openssl```. For Homebrew user, run `brew + * install openssl` and then ```./configure --with-openssl-dir=`brew prefix + * openssl` ```. + * * = Examples * * All examples assume you have loaded OpenSSL with: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/