Skip to content

Commit

Permalink
fix codeclimate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tarnowsc committed Aug 22, 2023
1 parent a2934cb commit 288d037
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def self_signed_certificate(rsa_key)
cert.public_key = rsa_key.public_key
cert.serial = 0x0
cert.version = 2
cert.sign rsa_key, OpenSSL::Digest::SHA256.new
cert.sign(rsa_key, OpenSSL::Digest.new('SHA256'))

cert
end
Expand Down

0 comments on commit 288d037

Please sign in to comment.