From 2008e55bae7dddad3ad73ff9871d7ed205c67509 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 23 Oct 2012 10:36:31 -0700 Subject: fixed md5 problem (again) --- lib/leap_cli/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb index 6529d38..53bad35 100644 --- a/lib/leap_cli/util.rb +++ b/lib/leap_cli/util.rb @@ -188,7 +188,7 @@ module LeapCli filepath = Path.named_path(filepath) output = `md5sum '#{filepath}'`.strip if $?.to_i == 0 - return output.split(" ").first == MD5.md5(contents).to_s + return output.split(" ").first == Digest::MD5.hexdigest(contents).to_s else return false end -- cgit v1.2.3