summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-09-24 11:06:35 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-09-24 11:07:59 -0700
commitd6f3cab1abdf9556650150434d98a3a5b15050f7 (patch)
tree1d7b2e8f0a35ac1070f5485c23ee5c18a94fa352
parent842c529256099ea1a5e57dc94d7c363da0bce605 (diff)
downloadchef-jdm/fips.tar.gz
generate_checksum_for_file -> checksum_for_filejdm/fips
-rw-r--r--lib/chef/cookbook_version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook_version.rb b/lib/chef/cookbook_version.rb
index 487ab25265..72a8dbc343 100644
--- a/lib/chef/cookbook_version.rb
+++ b/lib/chef/cookbook_version.rb
@@ -99,7 +99,7 @@ class Chef
if Chef::Config.fips_mode
# This will require a chef server that can handle
# sha256 checksums
- Chef::Digester.generate_checksum_for_file(filepath)
+ Chef::Digester.checksum_for_file(filepath)
else
Chef::Digester.generate_md5_checksum_for_file(filepath)
end