Skip to content

Commit

Permalink
Fix codeclimate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tarnowsc committed Sep 7, 2023
1 parent aaadc16 commit 8f471d6
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 8f471d6

Please sign in to comment.