commit b7976726d687742df8adcbd9cc70bd5d4954fb72
parent 534d85c189215862abca271ec2434ae7385ae016
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sat, 15 Sep 2007 05:27:24 +0000
minor crypto bugfix
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@580 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb
@@ -34,14 +34,14 @@ class CryptoManager
if gpg_output =~ /^gpg: (.* signature from .*$)/
$? == 0 ? [:valid, $1, lines] : [:invalid, $1, lines]
else
- unknown
+ unknown lines
end
end
private
- def unknown
- [:unknown, "Unable to determine validity of cryptographic signature", []]
+ def unknown lines=[]
+ [:unknown, "Unable to determine validity of cryptographic signature", lines]
end
end
end