Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolve openssl deprecation, Rubocop: Lint/DeprecatedOpenSSLConstant
> Lint/DeprecatedOpenSSLConstant: > Use OpenSSL::Digest.hexdigest('MD5', key_in_der_format) instead of > OpenSSL::Digest::MD5.hexdigest(key_in_der_format). Rubocop has a new cop[1] that detects an upcoming deprecation to the OpenSSL gem[2] that's built into Ruby. [1] rubocop/rubocop#7950 [2] ruby/openssl#366 The previous constant will cause failures in Ruby 3. Signed-off-by: Tim Smith <tsmith@chef.io> Signed-off-by: Robb Kidd <rkidd@chef.io>
- Loading branch information