diff options
author | Bart de Water <[email protected]> | 2020-06-28 17:18:34 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-06-29 13:25:32 +0900 |
commit | 3621a7debf746723281900851e009c2111fc1f56 (patch) | |
tree | 4205534188d938b83155df60c5f3f30e20fe0407 /lib/drb | |
parent | 1ce9c37257111df15ca646c526b86798fab5775e (diff) |
Avoid deprecated OpenSSL::Digest constants
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3270
Diffstat (limited to 'lib/drb')
-rw-r--r-- | lib/drb/ssl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/ssl.rb b/lib/drb/ssl.rb index 3d528c6172..54ab1ef395 100644 --- a/lib/drb/ssl.rb +++ b/lib/drb/ssl.rb @@ -196,7 +196,7 @@ module DRb if comment = self[:SSLCertComment] cert.add_extension(ef.create_extension("nsComment", comment)) end - cert.sign(rsa, OpenSSL::Digest::SHA256.new) + cert.sign(rsa, "SHA256") @cert = cert @pkey = rsa |