summaryrefslogtreecommitdiff
path: root/lib/chef/encrypted_data_bag_item/encryptor.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-25 15:57:05 -0700
committerGitHub <noreply@github.com>2020-08-25 15:57:05 -0700
commit01c640fb6fe2462104ab30911fbcfe6b33b554f2 (patch)
tree68ae7d981d6f73b66c9792995b6a594936987d63 /lib/chef/encrypted_data_bag_item/encryptor.rb
parent68cf3453975dccaad52ec76a17f35c6f6d824b5b (diff)
parentc25d99cdcbaec96bf6a2a75a8f5b0d266df2c759 (diff)
downloadchef-01c640fb6fe2462104ab30911fbcfe6b33b554f2.tar.gz
Merge pull request #10349 from chef/dep_bump
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/encrypted_data_bag_item/encryptor.rb')
-rw-r--r--lib/chef/encrypted_data_bag_item/encryptor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/encrypted_data_bag_item/encryptor.rb b/lib/chef/encrypted_data_bag_item/encryptor.rb
index 2d38b9d44e..14094928ca 100644
--- a/lib/chef/encrypted_data_bag_item/encryptor.rb
+++ b/lib/chef/encrypted_data_bag_item/encryptor.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require "base64"
+require "base64" unless defined?(Base64)
require "digest/sha2" unless defined?(Digest::SHA2)
require "openssl" unless defined?(OpenSSL)
require "ffi_yajl" unless defined?(FFI_Yajl)