From 5cd98c55080ae7aa42e4d8861e70d4a2dfb1a780 Mon Sep 17 00:00:00 2001 From: David Deller Date: Sun, 18 Dec 2011 11:40:58 -0500 Subject: [PATCH] OpenSSL path should be globally replaced, right? With MacPorts OpenSSL installed, this version produces different results, which makes me nervous. --- sign_update.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign_update.rb b/sign_update.rb index 351e43f4..199ea40c 100755 --- a/sign_update.rb +++ b/sign_update.rb @@ -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` \ No newline at end of file +puts `#{openssl} dgst -sha1 -binary < "#{ARGV[0]}" | #{openssl} dgst -dss1 -sign "#{ARGV[1]}" | #{openssl} enc -base64` \ No newline at end of file