[MacPorts] #33715: curl 7.24.0 broke after openssl 1.0.1

MacPorts noreply at macports.org
Thu Mar 22 11:14:10 PDT 2012


#33715: curl 7.24.0 broke after openssl 1.0.1
----------------------------------+-----------------------------------------
 Reporter:  pixilla@…             |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.0.4                                
 Keywords:                        |        Port:  curl openssl                         
----------------------------------+-----------------------------------------

Comment(by dave@…):

 This isn't just a problem with curl. The new openssl breaks HTTPS access
 from ruby.


 {{{
 [dave ~] port installed openssl
 The following ports are currently installed:
   openssl @1.0.0e_1
   openssl @1.0.1_0
   openssl @1.0.1_1 (active)
 [dave ~] curl -v https://graph.facebook.com/
 * About to connect() to graph.facebook.com port 443 (#0)
 *   Trying 69.171.234.34...
 * connected
 * Connected to graph.facebook.com (69.171.234.34) port 443 (#0)
 * successfully set certificate verify locations:
 *   CAfile: /opt/local/share/curl/curl-ca-bundle.crt
   CApath: none
 * SSLv3, TLS handshake, Client hello (1):
 [long pause]
 * Unknown SSL protocol error in connection to graph.facebook.com:443
 * Closing connection #0
 curl: (35) Unknown SSL protocol error in connection to
 graph.facebook.com:443
 [dave quane:~] ruby -ropen-uri -e 'open("https://graph.facebook.com/")
 &:read'
 [long pause]
 /opt/local/lib/ruby/1.8/net/http.rb:586:in `connect': Connection reset by
 peer - SSL_connect (Errno::ECONNRESET)
         from /opt/local/lib/ruby/1.8/net/http.rb:586:in `connect'
         from /opt/local/lib/ruby/1.8/net/http.rb:553:in `do_start'
         from /opt/local/lib/ruby/1.8/net/http.rb:542:in `start'
         from /opt/local/lib/ruby/1.8/open-uri.rb:242:in `open_http'
         from /opt/local/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
         from /opt/local/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
         from /opt/local/lib/ruby/1.8/open-uri.rb:162:in `catch'
         from /opt/local/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
         from /opt/local/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
         from /opt/local/lib/ruby/1.8/open-uri.rb:518:in `open'
         from /opt/local/lib/ruby/1.8/open-uri.rb:30:in `open'
         from -e:1
 [dave ~] sudo port activate openssl at 1.0.0e_1
 --->  Computing dependencies for openssl
 --->  Deactivating openssl @1.0.1_1
 --->  Cleaning openssl
 --->  Activating openssl @1.0.0e_1
 --->  Cleaning openssl
 [dave ~] curl -v https://graph.facebook.com/
 * About to connect() to graph.facebook.com port 443 (#0)
 *   Trying 69.171.228.43...
 * connected
 * Connected to graph.facebook.com (69.171.228.43) port 443 (#0)
 * successfully set certificate verify locations:
 *   CAfile: /opt/local/share/curl/curl-ca-bundle.crt
   CApath: none
 * SSLv3, TLS handshake, Client hello (1):
 * SSLv3, TLS handshake, Server hello (2):
 [curl goes on to connect and get a 302, which is correct, and there is no
 long pause]
 [dave quane:~] ruby -ropen-uri -e 'open("https://graph.facebook.com/")
 &:read'
 /opt/local/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection
 forbidden: https://graph.facebook.com/ ->
 http://developers.facebook.com/docs/api (RuntimeError)
         from /opt/local/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
         from /opt/local/lib/ruby/1.8/open-uri.rb:518:in `open'
         from /opt/local/lib/ruby/1.8/open-uri.rb:30:in `open'
         from -e:1
 [this is the correct behavior, and there is no long pause]
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/33715#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list