OpenSSL path should be globally replaced, right?

With MacPorts OpenSSL installed, this version produces different results, which makes me nervous.
This commit is contained in:
David Deller committed 2011-12-18 11:40:58 -05:00
1 parent 290f64f552
commit 5cd98c5508
1 file changed
+1 -1
+1 -1
View File
@@ -4,4 +4,4 @@ if ARGV.length < 2
exit
end
openssl = "/usr/bin/openssl"
puts `#{openssl} dgst -sha1 -binary < "#{ARGV[0]}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`
puts `#{openssl} dgst -sha1 -binary < "#{ARGV[0]}" | #{openssl} dgst -dss1 -sign "#{ARGV[1]}" | #{openssl} enc -base64`