Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #362 from MagLev/johnnyt/fix-openssl
Browse files Browse the repository at this point in the history
Updates OpenSSL download url
  • Loading branch information
timfel committed Dec 7, 2014
2 parents 54a300e + c448a96 commit ec11f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ruby/1.9/openssl/ext/extconf.rb
Expand Up @@ -47,7 +47,7 @@ def version

def get_headers(version)
unless File.directory?("openssl-#{version}")
file = "openssl-#{version}.tar.gz"
file = "openssl-#{version}j.tar.gz"
openssl_url = "ftp://ftp.openssl.org/source/#{file}"
message " Downloading #{openssl_url}\n"
message " Trying wget.\n"
Expand All @@ -59,7 +59,7 @@ def get_headers(version)
raise "Must have curl or wget"
end
end
system "tar xzf #{file}"
system "tar xzf #{file} && mv openssl-#{version}j openssl-#{version}"
end
end

Expand Down

0 comments on commit ec11f53

Please sign in to comment.