Permalink
Browse files

OpenSSL path should be globally replaced, right?

With MacPorts OpenSSL installed, this version produces different results, which makes me nervous.
  • Loading branch information...
1 parent 290f64f commit 5cd98c55080ae7aa42e4d8861e70d4a2dfb1a780 David Deller committed Dec 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 sign_update.rb
View
@@ -4,4 +4,4 @@
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`

0 comments on commit 5cd98c5

Please sign in to comment.